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:
@@ -313,6 +313,7 @@ function slateTeamsMatch(a, b) {
|
||||
* @param {Record<string, any>} deltaIndex
|
||||
* @param {number} [now]
|
||||
* @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) {
|
||||
const byPlayer = {};
|
||||
|
||||
Reference in New Issue
Block a user