Fix emmylua warnings

This commit is contained in:
Van
2026-01-18 15:20:59 +03:00
parent 087a8eee86
commit 79111b3cbd
2 changed files with 7 additions and 1 deletions

View File

@@ -57,6 +57,8 @@ end
--- @return boolean
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