Enable stricter type checks

This commit is contained in:
Cooldude2606
2024-11-21 00:03:19 +00:00
parent 51c9356ecc
commit 99ab54da0a
11 changed files with 67 additions and 37 deletions

View File

@@ -125,7 +125,6 @@ Commands._metatable = {
__class = "ExpCommand",
}
--- @type LuaPlayer
Commands.server = setmetatable({
index = 0,
color = ExpUtil.color.white,
@@ -154,7 +153,7 @@ Commands.server = setmetatable({
Commands.error("Command does not support rcon usage, requires LuaPlayer." .. key)
error("Command does not support rcon usage, requires LuaPlayer." .. key)
end,
})
}) --[[ @as LuaPlayer ]]
--- Status Returns.
-- Return values used by command callbacks