fix: fix tic tac toe test
This commit is contained in:
@@ -16,8 +16,8 @@ const WINNING_LINES: number[][][] = [
|
||||
[[0, 2], [1, 1], [2, 0]],
|
||||
];
|
||||
|
||||
type PlayerType = 'X' | 'O';
|
||||
type WinnerType = PlayerType | 'draw' | null;
|
||||
export type PlayerType = 'X' | 'O';
|
||||
export type WinnerType = PlayerType | 'draw' | null;
|
||||
|
||||
type TicTacToePart = Part & { player: PlayerType };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user