diff --git a/lib/tic-tac-toe/ai.ts b/lib/tic-tac-toe/ai.ts index 2a0c9ed..5f72c2c 100644 --- a/lib/tic-tac-toe/ai.ts +++ b/lib/tic-tac-toe/ai.ts @@ -34,7 +34,7 @@ class AI { } private getPossibleMoves(game: Game): Game[] { - const moves = []; + const moves: Game[] = []; let move: Game; for (let i = 0; i < 3; i++) {