Fix types
This commit is contained in:
parent
23285b89b0
commit
a326edda11
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user