summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-29 14:41:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-29 14:41:13 +0800
commit0c95dbcc67e096e2da61736e9fbea44c3e82e953 (patch)
tree7f65b0d4d74d6d577cb6f1665296faa39d390683 /meta
parentc8a7122ca9a1391ac09d05cc98762f1c73eb2712 (diff)
downloadlua-language-server-0c95dbcc67e096e2da61736e9fbea44c3e82e953.zip
fix #1243 fix meta of `next`
Diffstat (limited to 'meta')
-rw-r--r--meta/template/basic.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua
index 7afbf273..017a06d1 100644
--- a/meta/template/basic.lua
+++ b/meta/template/basic.lua
@@ -141,8 +141,8 @@ function module(name, ...) end
---@generic K, V
---@param table table<K, V>
---@param index? K
----@return K
----@return V
+---@return K?
+---@return V?
---@nodiscard
function next(table, index) end