Allow role and team to be null for players
This commit is contained in:
parent
0fdd11b836
commit
4fe7ba7727
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
|
|
@ -11,8 +11,8 @@ type answer = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
||||||
// Player specific data
|
// Player specific data
|
||||||
interface player {
|
interface player {
|
||||||
name: string;
|
name: string;
|
||||||
role: role;
|
role: role | null;
|
||||||
team: team;
|
team: team | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue