From 48852dd5aa1dd0e83d0e3e6b57ca4dd315546cf5 Mon Sep 17 00:00:00 2001 From: VodBox Date: Sun, 3 Mar 2024 20:50:11 +1100 Subject: [PATCH] fix: typescript compatibility Our broadcast graphics package is still on an older version of TypeScript that does not support the `satisfies` keyword, so this is removed for compatibility --- src/channels/minesweeper/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channels/minesweeper/constants.ts b/src/channels/minesweeper/constants.ts index ee65ac9..c6db45b 100644 --- a/src/channels/minesweeper/constants.ts +++ b/src/channels/minesweeper/constants.ts @@ -23,7 +23,7 @@ export const TILE_MAP = { EMPTY: [1, 0], FLAGGED: [2, 0], QUESTION_MARK: [3, 0], -} satisfies Record; +} as const; export const mineNumberTiles = [ TILE_MAP.EMPTY,