diff --git a/src/js/types.d.ts b/src/js/types.d.ts index 09d85de..3633da2 100644 --- a/src/js/types.d.ts +++ b/src/js/types.d.ts @@ -6,16 +6,9 @@ type CellOwner = "" | "r" | "b"; /** * Represents a row of the game field. */ -type Row = [CellOwner, CellOwner, CellOwner, CellOwner, CellOwner, CellOwner, CellOwner]; +type Row = CellOwner[]; /** * Represents a game board. */ -type Board = [ - Row, - Row, - Row, - Row, - Row, - Row -]; +type Board = Row[];