File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export function buildMatch(overrides: Partial<any> = {}) {
88 organizer_steam_id : "76561198000000001" ,
99 type : "Competitive" ,
1010 region : "eu-west" ,
11- cancels_at : null ,
11+ cancels_at : null as string | null ,
1212 ...overrides ,
1313 } ;
1414}
@@ -30,7 +30,7 @@ export function buildLineup(overrides: Partial<any> = {}) {
3030 match_id : uuid ( ) ,
3131 name : "Team A" ,
3232 is_ready : false ,
33- lineup_players : [ ] ,
33+ lineup_players : [ ] as any [ ] ,
3434 ...overrides ,
3535 } ;
3636}
@@ -64,11 +64,11 @@ export function buildTournamentBracket(overrides: Partial<any> = {}) {
6464 match_number : 1 ,
6565 finished : false ,
6666 bye : false ,
67- tournament_team_id_1 : null ,
68- tournament_team_id_2 : null ,
69- match_id : null ,
70- parent_bracket_id : null ,
71- loser_parent_bracket_id : null ,
67+ tournament_team_id_1 : null as string | null ,
68+ tournament_team_id_2 : null as string | null ,
69+ match_id : null as string | null ,
70+ parent_bracket_id : null as string | null ,
71+ loser_parent_bracket_id : null as string | null ,
7272 ...overrides ,
7373 } ;
7474}
You can’t perform that action at this time.
0 commit comments