Add a Board type for easier type consistency

This commit is contained in:
Oliver Akins 2022-06-28 00:43:52 -06:00
parent a4aa70f992
commit 54ffc0a0f4
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99
2 changed files with 2 additions and 0 deletions

View file

@ -12,6 +12,7 @@
// Data Structures
export * from "./types/Colour";
export * from "./types/FuelCard";
export * from "./types/GameBoard";
export * from "./types/Spaceship";
export * from "./types/PlayerData";
export * from "./types/GameOption";

View file

@ -0,0 +1 @@
export type Board = (string|null)[];