summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/template/basic.lua2
-rw-r--r--meta/template/table.lua2
-rw-r--r--meta/template/utf8.lua4
3 files changed, 4 insertions, 4 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua
index 6a89fb01..7afbf273 100644
--- a/meta/template/basic.lua
+++ b/meta/template/basic.lua
@@ -284,6 +284,6 @@ function xpcall(f, msgh, arg1, ...) end
---@param list T[]
---@param i? integer
---@param j? integer
----@return T
+---@return T ...
---@nodiscard
function unpack(list, i, j) end
diff --git a/meta/template/table.lua b/meta/template/table.lua
index b0a386c3..1cb2f56f 100644
--- a/meta/template/table.lua
+++ b/meta/template/table.lua
@@ -61,7 +61,7 @@ function table.sort(list, comp) end
---@param list T[]
---@param i? integer
---@param j? integer
----@return T
+---@return T ...
---@nodiscard
function table.unpack(list, i, j) end
diff --git a/meta/template/utf8.lua b/meta/template/utf8.lua
index a00a3238..1797a5e8 100644
--- a/meta/template/utf8.lua
+++ b/meta/template/utf8.lua
@@ -33,7 +33,7 @@ function utf8.codes(s, lax) end
---@param i? integer
---@param j? integer
---@return integer code
----@return ...
+---@return integer ...
---@nodiscard
function utf8.codepoint(s, i, j) end
---#else
@@ -42,7 +42,7 @@ function utf8.codepoint(s, i, j) end
---@param j? integer
---@param lax? boolean
---@return integer code
----@return ...
+---@return integer ...
---@nodiscard
function utf8.codepoint(s, i, j, lax) end
---#end