(tic-tac-toe): Laid the foundations for tic tac toe/database interactions
This commit is contained in:
parent
7f7c0c12d1
commit
f5c0f5635d
1 changed files with 2 additions and 2 deletions
|
|
@ -3,8 +3,8 @@ import type { Database } from './_base';
|
||||||
|
|
||||||
// describe every function in the object
|
// describe every function in the object
|
||||||
export interface ITicTacToeDb extends Database {
|
export interface ITicTacToeDb extends Database {
|
||||||
normalFunction(id: TemplateId): TemplateData | undefined,
|
setGameOutcome(this: ITicTacToeDb, id: GameId): void,
|
||||||
asyncFunction(id: TemplateId): Promise<TemplateData | undefined>,
|
// asyncFunction(id: TemplateId): Promise<TemplateData | undefined>,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const TicTacToeImpl: Omit<ITicTacToeDb, keyof Database> = {
|
export const TicTacToeImpl: Omit<ITicTacToeDb, keyof Database> = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue