Fix types

This commit is contained in:
snen 2021-09-24 22:58:01 -04:00
parent 23285b89b0
commit a326edda11

View File

@ -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 {