type fixes
This commit is contained in:
parent
d730695936
commit
bff5de2e05
|
@ -1,10 +1,10 @@
|
|||
import { env } from '$env/dynamic/public';
|
||||
|
||||
export interface MutexLayerSet<ValidOpts> {
|
||||
map1: ValidOpts | null;
|
||||
map2: ValidOpts | null;
|
||||
map3: ValidOpts | null;
|
||||
map4: ValidOpts | null;
|
||||
map1: ValidOpts;
|
||||
map2: ValidOpts;
|
||||
map3: ValidOpts;
|
||||
map4: ValidOpts;
|
||||
}
|
||||
export interface OverlayLayerSet<ValidOpts> {
|
||||
map1: ValidOpts[];
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
map3: null,
|
||||
map4: null
|
||||
});
|
||||
let overlayLayers: OverlayLayerSet<string[]> = $state({
|
||||
let overlayLayers: OverlayLayerSet<string> = $state({
|
||||
map1: [],
|
||||
map2: [],
|
||||
map3: [],
|
||||
|
|
Loading…
Reference in New Issue