summaryrefslogtreecommitdiff
path: root/meta/template/table.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template/table.lua')
-rw-r--r--meta/template/table.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/template/table.lua b/meta/template/table.lua
index c55c3160..3ec92ce8 100644
--- a/meta/template/table.lua
+++ b/meta/template/table.lua
@@ -56,9 +56,11 @@ function table.sort(list, comp) end
---@version >5.2, JIT
---#DES 'table.unpack'
----@param list table
+---@generic T
+---@param list T[]
---@param i? integer
---@param j? integer
+---@return T
---@nodiscard
function table.unpack(list, i, j) end