Prefer z.literal(true).optional() over z.boolean()

This commit is contained in:
Scott Anderson
2025-05-24 20:45:24 -04:00
parent c6e8f2f998
commit 9225ccee44
9 changed files with 18 additions and 30 deletions
-4
View File
@@ -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(