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