strictNullChecks

This commit is contained in:
Scott Anderson
2025-04-07 05:12:09 -04:00
parent aac1cf0754
commit 3b07f78e97
82 changed files with 582 additions and 423 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export class GameManager {
}
public game(id: GameID): GameServer | null {
return this.games.get(id);
return this.games.get(id) ?? null;
}
addClient(client: Client, gameID: GameID, lastTurn: number): boolean {