EmmyLua -> LuaLS

This commit is contained in:
Van
2026-06-16 17:50:29 +03:00
parent 60003eea73
commit 1799d6d32e
37 changed files with 135 additions and 314 deletions

View File

@@ -58,7 +58,6 @@ end
function table.contains(t, value)
ensureArgType(t, 'table', 1, 'table.contains')
---@diagnostic disable-next-line: param-type-not-match
return tableKeyOf(t, value) ~= nil
end
@@ -415,7 +414,7 @@ end
---@generic value any
---@param list value[]
---@param value value
---@param value[]
---@return value[]
function table.remove_value(list, value)
local index = table.indexof(list, value)
while index ~= -1 do