fixed crashing all services
This commit is contained in:
parent
e7bf718fa6
commit
4a58f2e98b
1 changed files with 3 additions and 3 deletions
|
|
@ -31,10 +31,10 @@ export const TicTacToeImpl: Omit<ITicTacToeDb, keyof Database> = {
|
||||||
// },
|
// },
|
||||||
};
|
};
|
||||||
|
|
||||||
export type TicTacToeId = number & { readonly __brand: unique symbol };
|
export type GameId = number & { readonly __brand: unique symbol };
|
||||||
|
|
||||||
export type TicTacToeData = {
|
export type TicTacToeData = {
|
||||||
readonly id: TicTacToeId;
|
readonly id: GameId;
|
||||||
readonly player1: string;
|
readonly player1: string;
|
||||||
readonly player2: string;
|
readonly player2: string;
|
||||||
readonly outcome: string;
|
readonly outcome: string;
|
||||||
|
|
@ -51,4 +51,4 @@ export type TicTacToeData = {
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// silence warnings
|
// silence warnings
|
||||||
void privateFunction;
|
// void privateFunction;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue