Fix types
This commit is contained in:
parent
23285b89b0
commit
a326edda11
@ -73,7 +73,7 @@ export interface GameState {
|
|||||||
export type GameAction =
|
export type GameAction =
|
||||||
| { type: 'set-player-team'; team: Team}
|
| { type: 'set-player-team'; team: Team}
|
||||||
| { type: 'receive-cards'; cards: Card[]}
|
| { 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 }
|
| { type: 'play-card', handIndex: number }
|
||||||
|
|
||||||
export interface GameCommandAPI {
|
export interface GameCommandAPI {
|
||||||
|
Loading…
Reference in New Issue
Block a user