NextState<E extends Event, T extends Game> typedef

NextState<E extends Event, T extends Game> = MaybeError<GameState<E, T>>

Implementation

typedef NextState<E extends Event, T extends Game>
    = MaybeError<GameState<E, T>>;