Add a Board type for easier type consistency
This commit is contained in:
parent
a4aa70f992
commit
54ffc0a0f4
2 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
||||||
// Data Structures
|
// Data Structures
|
||||||
export * from "./types/Colour";
|
export * from "./types/Colour";
|
||||||
export * from "./types/FuelCard";
|
export * from "./types/FuelCard";
|
||||||
|
export * from "./types/GameBoard";
|
||||||
export * from "./types/Spaceship";
|
export * from "./types/Spaceship";
|
||||||
export * from "./types/PlayerData";
|
export * from "./types/PlayerData";
|
||||||
export * from "./types/GameOption";
|
export * from "./types/GameOption";
|
||||||
|
|
|
||||||
1
common/src/types/GameBoard.ts
Normal file
1
common/src/types/GameBoard.ts
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
export type Board = (string|null)[];
|
||||||
Loading…
Add table
Add a link
Reference in a new issue