summaryrefslogtreecommitdiff
path: root/meta/template/io.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template/io.lua')
-rw-r--r--meta/template/io.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/template/io.lua b/meta/template/io.lua
index b1fe5a9e..3a6e37ff 100644
--- a/meta/template/io.lua
+++ b/meta/template/io.lua
@@ -42,7 +42,7 @@ function io.input(file) end
---#DES 'io.lines'
---@param filename string?
---@param ... readmode
----@return fun():string|number
+---@return fun():any, ...
function io.lines(filename, ...) end
---#DES 'io.open'
@@ -71,7 +71,7 @@ function io.popen(prog, mode) end
---#DES 'io.read'
---@param ... readmode
----@return string|number
+---@return any
---@return ...
---@nodiscard
function io.read(...) end
@@ -129,12 +129,13 @@ function file:flush() end
---#DES 'file:lines'
---@param ... readmode
----@return fun():string|number
+---@return fun():any, ...
function file:lines(...) end
---#DES 'file:read'
---@param ... readmode
----@return string|number
+---@return any
+---@return ...
---@nodiscard
function file:read(...) end