Skip to content

Commit

Permalink
typo and shut up anno warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpalpha committed Oct 3, 2023
1 parent 0b9a9eb commit 23ad73d
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ local Variables = require('Module:Variables')

---@class StarcraftParticipantTable: ParticipantTable
---@field isPureSolo boolean
local ParticipantTable = Lua.import('Module:ParticipantTable', {requireDevIfEnabled = true})
---@field displaySoloRaceTableSection function

local ParticipantTable = Lua.import('Module:ParticipantTable/Base', {requireDevIfEnabled = true})

local Opponent = require('OpponentLibraries').Opponent

Expand All @@ -45,7 +47,7 @@ local StarcraftParticipantTable = {}
---@param frame Frame
---@return Html?
function StarcraftParticipantTable.run(frame)
local participantTable = ParticipantTable(frame)
local participantTable = ParticipantTable(frame) --[[@as StarcraftParticipantTable]]

participantTable.args.noStorage = participantTable.args.noStorage or
Variables.varDefault('tournament_startdate') > ROLL_OUT_DATE
Expand All @@ -71,7 +73,7 @@ end
---@param parentConfig StarcraftParticipantTableConfig?
---@return StarcraftParticipantTableConfig
function StarcraftParticipantTable.readConfig(args, parentConfig)
local config = ParticipantTable.readConfig(args, parentConfig)
local config = ParticipantTable.readConfig(args, parentConfig) --[[@as StarcraftParticipantTableConfig]]
parentConfig = parentConfig or {}

config.displayUnknownColumn = Logic.readBoolOrNil(args.unknowncolumn)
Expand Down

0 comments on commit 23ad73d

Please sign in to comment.