From bff5de2e051dc8c76081965d1536348107dcd681 Mon Sep 17 00:00:00 2001 From: core Date: Sun, 27 Oct 2024 10:42:39 -0400 Subject: [PATCH] type fixes --- wxbox-web/src/lib/map/layer.ts | 8 ++++---- wxbox-web/src/routes/+page.svelte | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wxbox-web/src/lib/map/layer.ts b/wxbox-web/src/lib/map/layer.ts index 6c294d8..b3486ab 100644 --- a/wxbox-web/src/lib/map/layer.ts +++ b/wxbox-web/src/lib/map/layer.ts @@ -1,10 +1,10 @@ import { env } from '$env/dynamic/public'; export interface MutexLayerSet { - map1: ValidOpts | null; - map2: ValidOpts | null; - map3: ValidOpts | null; - map4: ValidOpts | null; + map1: ValidOpts; + map2: ValidOpts; + map3: ValidOpts; + map4: ValidOpts; } export interface OverlayLayerSet { map1: ValidOpts[]; diff --git a/wxbox-web/src/routes/+page.svelte b/wxbox-web/src/routes/+page.svelte index ad9782b..4c8120b 100644 --- a/wxbox-web/src/routes/+page.svelte +++ b/wxbox-web/src/routes/+page.svelte @@ -32,7 +32,7 @@ map3: null, map4: null }); - let overlayLayers: OverlayLayerSet = $state({ + let overlayLayers: OverlayLayerSet = $state({ map1: [], map2: [], map3: [],