Set optional data points to be optional.
This commit is contained in:
parent
bc11738d9b
commit
05ec403ad1
1 changed files with 2 additions and 2 deletions
4
server/src/types/data.d.ts
vendored
4
server/src/types/data.d.ts
vendored
|
|
@ -46,10 +46,10 @@ interface JoinGame {
|
||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
interface GameJoined extends response {
|
interface GameJoined extends response {
|
||||||
players: player[];
|
players?: player[];
|
||||||
}
|
}
|
||||||
interface GameRejoined extends response {
|
interface GameRejoined extends response {
|
||||||
players: player[];
|
players?: player[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue