-
-
Save morintd/7ad03c9f530a28f85b113efa0f240547 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { IPresenter } from "../../common/presenter"; | |
| import { GameDomainModel } from "../game.domain-model"; | |
| export type Input = { | |
| history: GameDomainModel.Squares[]; | |
| winner: GameDomainModel.Winner; | |
| xIsNext: boolean; | |
| step: number; | |
| }; | |
| export type Output = { | |
| moves: Array<{ move: number; description: string }>; | |
| status: string; | |
| squares: GameDomainModel.Squares; | |
| }; | |
| export interface IGamePresenter extends IPresenter<Input, Output> {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment