From 03cef7ff069177fa79334592599912f589c8c7ff Mon Sep 17 00:00:00 2001 From: Scott Anderson <662325+scottanderson@users.noreply.github.com> Date: Fri, 16 May 2025 16:42:29 -0400 Subject: [PATCH] src/core/game/Game.ts --- src/core/game/Game.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/game/Game.ts b/src/core/game/Game.ts index 99bbc690a..2af7fe317 100644 --- a/src/core/game/Game.ts +++ b/src/core/game/Game.ts @@ -198,7 +198,7 @@ export const nukeTypes = [ UnitType.HydrogenBomb, UnitType.MIRVWarhead, UnitType.MIRV, -] as UnitType[]; +] as const satisfies UnitType[]; export type NukeType = (typeof nukeTypes)[number]; @@ -513,7 +513,7 @@ export interface Player { } export interface Game extends GameMap { - expireAlliance(alliance: Alliance); + expireAlliance(alliance: Alliance): void; // Map & Dimensions isOnMap(cell: Cell): boolean; width(): number;