feat: add support for cancelled games #102
Annotations
3 errors and 1 warning
check:
app/data/mocks.ts#L101
Type '{ id: number; type: GameType; gameState: "Scheduled"; homeTeam: Team; awayTeam: Team; startTime: string; isCancelled?: boolean | undefined; }' is not assignable to type 'BaseGame & { readonly gameState: "Scheduled"; readonly startTime: string; readonly isCancelled: boolean; }'.
|
check:
app/data/normalization/gameDetails/index.ts#L47
Type '{ awayTeam: Team; homeTeam: Team; id: number; startTime: string; type: GameType; gameState: "Scheduled"; }' is not assignable to type 'BaseGame & { readonly gameState: "Scheduled"; readonly startTime: string; readonly isCancelled: boolean; }'.
|
check
Process completed with exit code 1.
|
check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|