From 5fbbf0914493a94580c0cb09ef51296d4f1f99fb Mon Sep 17 00:00:00 2001 From: Oliver Akins Date: Wed, 29 Jun 2022 00:00:21 -0600 Subject: [PATCH] Add a GamePiece type --- common/src/types/GameBoard.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/src/types/GameBoard.ts b/common/src/types/GameBoard.ts index 2ae5343..5660880 100644 --- a/common/src/types/GameBoard.ts +++ b/common/src/types/GameBoard.ts @@ -1 +1,3 @@ -export type Board = (string|null)[]; \ No newline at end of file +export type GamePiece = string | null; + +export type Board = GamePiece[]; \ No newline at end of file