Update GameDeleted type to add message.
This commit is contained in:
parent
483e37df73
commit
3a9045ef87
1 changed files with 3 additions and 1 deletions
4
server/src/types/data.d.ts
vendored
4
server/src/types/data.d.ts
vendored
|
|
@ -29,7 +29,9 @@ interface GameCreated extends response {
|
||||||
interface DeleteGame {
|
interface DeleteGame {
|
||||||
game_code: string;
|
game_code: string;
|
||||||
}
|
}
|
||||||
interface GameDeleted extends response {}
|
interface GameDeleted extends response {
|
||||||
|
message?: string
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
interface LeaveGame {
|
interface LeaveGame {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue