From a8d9a363cbd5bef904c70b14792b61b89c02ae48 Mon Sep 17 00:00:00 2001 From: Oliver Akins Date: Wed, 20 Jul 2022 21:14:02 -0600 Subject: [PATCH] Update the type of the players store --- web-svelte/src/stores.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web-svelte/src/stores.ts b/web-svelte/src/stores.ts index 753b407..8a6ae9f 100644 --- a/web-svelte/src/stores.ts +++ b/web-svelte/src/stores.ts @@ -5,4 +5,5 @@ export const gameCode = writable(""); export const state = writable("main-menu"); export const myName = writable(""); export const isHost = writable(false); +export const players = writable<{[index: string]: PlayerData}>(); export const board = writable(new Array(54).fill(null)); \ No newline at end of file