From 11ce8fd77c8e0c6f4e3bc16502a1057ce7bc69ea Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 21 Aug 2022 23:02:26 -0700 Subject: [PATCH] gears.timer: Update the property documentation. --- lib/gears/timer.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/gears/timer.lua b/lib/gears/timer.lua index 0c50c954b..b8ab26fb8 100644 --- a/lib/gears/timer.lua +++ b/lib/gears/timer.lua @@ -140,15 +140,17 @@ end -- -- For this to be `true` by default, pass `autostart` to the constructor. -- --- @property[opt=false] started --- @tparam boolean started +-- @property started +-- @tparam[opt=false] boolean started -- @see start -- @see stop --- The timer timeout value. -- -- @property timeout --- @tparam number timeout +-- @tparam[opt=0] number timeout +-- @propertyunit second +-- @negativeallowed false -- @propemits true false local timer_instance_mt = {