From d982ee5ba0a0763f44f7c6eae39f0d601c3ba86e Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Mon, 10 Feb 2020 23:48:57 +0200 Subject: [PATCH] fix typescript build --- lib/tic-tac-toe/ai.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) {