fix: fix tic tac toe test

This commit is contained in:
2026-04-02 15:25:17 +08:00
parent 0948e5a742
commit bd9569992b
2 changed files with 54 additions and 63 deletions
+2 -2
View File
@@ -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 };