diff --git a/src/types/client_data.d.ts b/src/types/client_data.d.ts index 49d6f5a..c86507a 100644 --- a/src/types/client_data.d.ts +++ b/src/types/client_data.d.ts @@ -12,15 +12,15 @@ interface HostInformation extends response { // Event is only emitted when the JoinGame event is successful, so there is no // success indicator in this response interface NewPlayer { - player: string; + player?: string; } interface GameJoined extends response { // properties depend on `success` being `true` - players: string[]; + players?: string[]; } interface PlayerListResponse extends response { // properties depend on `success` being `true` - players: string[] + players?: string[] } \ No newline at end of file