diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-24 05:31:41 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-24 05:31:41 +0800 |
commit | 33cc241c685b66173423eee57b32876c5dd4aa3e (patch) | |
tree | 286852cfd36dc314c0d41a942c83a54f6228875b /script/utility.lua | |
parent | 24abcb32ef427ce9ed8501af2a0a01aca42e23cf (diff) | |
download | lua-language-server-33cc241c685b66173423eee57b32876c5dd4aa3e.zip |
check nils
Diffstat (limited to 'script/utility.lua')
-rw-r--r-- | script/utility.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/utility.lua b/script/utility.lua index f5cc0e1d..47b0c8d8 100644 --- a/script/utility.lua +++ b/script/utility.lua @@ -315,8 +315,8 @@ function m.saveFile(path, content) end --- 计数器 ----@param init integer {optional = 'after'} ----@param step integer {optional = 'after'} +---@param init? integer +---@param step? integer ---@return fun():integer function m.counter(init, step) if not step then |