diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-06-28 16:21:08 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-06-28 16:21:08 +0800 |
commit | 12c658d8f569c52e88b09aadbd221387364276f4 (patch) | |
tree | c9d917b6ddebdf9443f88a188fa5839d1a243ca7 /server/meta | |
parent | 9e875d4ea8ac60939f51771485084c539e66e040 (diff) | |
download | lua-language-server-12c658d8f569c52e88b09aadbd221387364276f4.zip |
允许不占用return
Diffstat (limited to 'server/meta')
-rw-r--r-- | server/meta/Lua 5.4/basic.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/meta/Lua 5.4/basic.lua b/server/meta/Lua 5.4/basic.lua index 23d87cdb..637d9aec 100644 --- a/server/meta/Lua 5.4/basic.lua +++ b/server/meta/Lua 5.4/basic.lua @@ -48,6 +48,9 @@ _G['next'] = next ---|end ---|``` ---@param t table +---@return {name = 'next'} +---@return table {name = 't'} +---@return any {name = 'key'} function pairs(t) - return next, nil + return next, t, nil end |