summaryrefslogtreecommitdiff
path: root/meta/template/basic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template/basic.lua')
-rw-r--r--meta/template/basic.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua
index 785819a4..7a42ab74 100644
--- a/meta/template/basic.lua
+++ b/meta/template/basic.lua
@@ -135,9 +135,8 @@ function next(table, index) end
---#DES 'paris'
---@generic T: table, K, V
---@param t T
----@return fun(table: table<K, V>, index: K):K, V
+---@return fun(table: table<K, V>, index?: K):K, V
---@return T
----@return nil
function pairs(t) end
---#DES 'pcall'