summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-02 21:04:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-02 21:04:39 +0800
commit679689b5c5a167794cf10a74b9de2d9c37e30d65 (patch)
tree69bbb5ef64daa57809c43e4d7f75e19e8905b0f6 /meta/template
parent1e765820a9d16dd00325c9e591726b44d61d0616 (diff)
downloadlua-language-server-679689b5c5a167794cf10a74b9de2d9c37e30d65.zip
fix #435 forget to update `LuaDoc` of `ipairs`
Diffstat (limited to 'meta/template')
-rw-r--r--meta/template/basic.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua
index ffd36631..785819a4 100644
--- a/meta/template/basic.lua
+++ b/meta/template/basic.lua
@@ -65,9 +65,10 @@ function getfenv(f) end
function getmetatable(object) end
---#DES 'ipairs'
----@param t table
----@return fun(t: table, i?: integer):integer, any iterator
----@return table t
+---@generic T: table, V
+---@param t T
+---@return fun(table: V[], i?: integer):integer, V
+---@return T
---@return integer i
function ipairs(t) end