S5 fix: viability JSDoc type (JS default-param inference broke the build)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Kev
2026-07-11 19:39:21 -04:00
parent 02c17a65c3
commit c18dd42067
+1
View File
@@ -313,6 +313,7 @@ function slateTeamsMatch(a, b) {
* @param {Record<string, any>} deltaIndex * @param {Record<string, any>} deltaIndex
* @param {number} [now] * @param {number} [now]
* @param {{home?: string, away?: string} | null} [gameTeams] * @param {{home?: string, away?: string} | null} [gameTeams]
* @param {{lineups?: {byPlayer: Record<string, {status: string, slot?: number}>, postedTeams: string[]}, injuries?: Record<string, {status: string, detail?: string|null}>} | null} [viability]
*/ */
function buildPlayerStripsFromProps(gameProps, gradeIndex, deltaIndex, now = Date.now(), gameTeams = null, viability = null) { function buildPlayerStripsFromProps(gameProps, gradeIndex, deltaIndex, now = Date.now(), gameTeams = null, viability = null) {
const byPlayer = {}; const byPlayer = {};