chore: export TicTactToePart
This commit is contained in:
parent
6ac5ac4b9a
commit
d5f65fa6cd
|
|
@ -17,7 +17,7 @@ const WINNING_LINES: number[][][] = [
|
|||
|
||||
export type PlayerType = 'X' | 'O';
|
||||
export type WinnerType = PlayerType | 'draw' | null;
|
||||
type TicTacToePart = Part<{ player: PlayerType }>;
|
||||
export type TicTacToePart = Part<{ player: PlayerType }>;
|
||||
|
||||
export function createInitialState() {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in New Issue