Skip to content

Commit

Permalink
fix: typescript compatibility
Browse files Browse the repository at this point in the history
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
  • Loading branch information
VodBox committed Mar 3, 2024
1 parent 9c7689f commit 48852dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/channels/minesweeper/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const TILE_MAP = {
EMPTY: [1, 0],
FLAGGED: [2, 0],
QUESTION_MARK: [3, 0],
} satisfies Record<string, TileData['tileType']>;
} as const;

export const mineNumberTiles = [
TILE_MAP.EMPTY,
Expand Down

0 comments on commit 48852dd

Please sign in to comment.