Fix types

This commit is contained in:
snen 2021-09-24 22:58:01 -04:00
parent 23285b89b0
commit a326edda11
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ export interface GameState {
export type GameAction =
| { type: 'set-player-team'; team: Team}
| { type: 'receive-cards'; cards: Card[]}
| { type: 'update-state'; state: Omit<GameState, 'team'> }
| { type: 'update-state'; state: Omit<GameState, 'team' | 'drawChoices'> }
| { type: 'play-card', handIndex: number }
export interface GameCommandAPI {