diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-08 20:20:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-08 20:20:35 +0800 |
commit | 3c265f1bd4409c5713e88127e8fdca23870ea3c1 (patch) | |
tree | 7b3aa702c2a322f827aba9be9e64ba142059dc59 /meta/template/io.lua | |
parent | 9585ac191f61d72dd198edec139b955276a53072 (diff) | |
download | lua-language-server-3c265f1bd4409c5713e88127e8fdca23870ea3c1.zip |
change to `@param ...`
Diffstat (limited to 'meta/template/io.lua')
-rw-r--r-- | meta/template/io.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/template/io.lua b/meta/template/io.lua index 1af572b6..b2846878 100644 --- a/meta/template/io.lua +++ b/meta/template/io.lua @@ -41,7 +41,7 @@ function io.input(file) end ---#DES 'io.lines' ---@param filename string? ----@vararg readmode +---@param ... readmode ---@return fun():string|number function io.lines(filename, ...) end @@ -70,7 +70,7 @@ function io.output(file) end function io.popen(prog, mode) end ---#DES 'io.read' ----@vararg readmode +---@param ... readmode ---@return string|number ---@return ... ---@nodiscard @@ -128,12 +128,12 @@ function file:close() end function file:flush() end ---#DES 'file:lines' ----@vararg readmode +---@param ... readmode ---@return fun():string|number function file:lines(...) end ---#DES 'file:read' ----@vararg readmode +---@param ... readmode ---@return string|number ---@nodiscard function file:read(...) end @@ -161,7 +161,7 @@ function file:seek(whence, offset) end function file:setvbuf(mode, size) end ---#DES 'file:write' ----@vararg string|number +---@param ... string|number ---@return file*? ---@return string? errmsg function file:write(...) end |