Correct partial table types

`_display_data` is a cache keyed by force name, not a single record.
The auto complete accumulator starts empty, so its fields are optional.
Game commands have no usage beyond their own help text.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
bbassie
2026-08-07 15:31:18 +00:00
co-authored by Claude Opus 5
parent 1387b8a2db
commit d78ae40c5d
6 changed files with 9 additions and 6 deletions
@@ -416,7 +416,7 @@ function Elements.eta_label.refresh(eta_label)
eta_label.tooltip = display_data.tooltip
end
do local _display_data = {} --- @type Elements.eta_label.display_data
do local _display_data = {} --- @type table<string, Elements.eta_label.display_data>
--- Refresh the eta label for all online players
function Elements.eta_label.refresh_online()
-- Refresh the row data for online forces