Remove the fucking linter warnings

This commit is contained in:
2025-01-01 14:36:27 +01:00
parent ed7c1a4685
commit 8c45e90ce1
6 changed files with 16 additions and 10 deletions

View File

@@ -12,6 +12,8 @@ local function init()
---@field config HeimdallConfig
---@field stinkies table<string, boolean>
if not Heimdall_Data then Heimdall_Data = {} end
---@class InitTable
---@field Init fun(): nil
---@class HeimdallShared
---@field raceMap table<string, string>
@@ -22,11 +24,11 @@ local function init()
---@field utf8len fun(input: string): number
---@field padString fun(input: string, targetLength: number, left?: boolean): string
---@field GetOrDefault fun(table: table<any, any>, keys: string[], default: any): any
---@field Whoer { Init: fun() }
---@field Messenger { Init: fun() }
---@field Spotter { Init: fun() }
---@field DeathReporter { Init: fun() }
---@field Inviter { Init: fun() }
---@field Whoer InitTable
---@field Messenger InitTable
---@field Spotter InitTable
---@field DeathReporter InitTable
---@field Inviter InitTable
--- Config ---
---@class HeimdallConfig