boardgame.io
boardgame.io copied to clipboard
isConnected property missing from Board props
The client board props documentation at https://boardgame.io/documentation/#/api/Client documents
isConnected: true if connection to the server is active.
However this appears to be missing in v0.52.2
I suspect that this declaration in client.d.ts
incorrectly defines 2 isActive
fields and one of them should be isConnected
:
export declare type ClientState<G extends any = any> = null | (State<G> & {
isActive: boolean;
isActive: boolean;
log: LogEntry[];
});