summaryrefslogtreecommitdiff
path: root/meta/template/file.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template/file.lua')
-rw-r--r--meta/template/file.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/template/file.lua b/meta/template/file.lua
index 8dd97cbc..f24c0a38 100644
--- a/meta/template/file.lua
+++ b/meta/template/file.lua
@@ -7,9 +7,11 @@ local file = {}
---|>'"l"'
---| '"L"'
----@return boolean suc?
----@return '"exit"'|'"signal"'?
----@return integer code?
+---@alias exitcode | '"exit"'|'"signal"'
+
+---@return boolean suc?
+---@return exitcode exitcode?
+---@return integer code?
function file:close() end
function file:flush() end