mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-20 16:10:06 +00:00
Prefer z.literal(true).optional() over z.boolean()
This commit is contained in:
@@ -41,11 +41,7 @@ export async function setup(
|
||||
gameMode: GameMode.FFA,
|
||||
gameType: GameType.Singleplayer,
|
||||
difficulty: Difficulty.Medium,
|
||||
disableNPCs: false,
|
||||
bots: 0,
|
||||
infiniteGold: false,
|
||||
infiniteTroops: false,
|
||||
instantBuild: false,
|
||||
..._gameConfig,
|
||||
};
|
||||
const config = new TestConfig(
|
||||
|
||||
Reference in New Issue
Block a user