Fix import helper

This commit is contained in:
Pieter Vander Vennet 2022-02-09 19:11:04 +01:00
parent ae68a09775
commit 244e4c294d
3 changed files with 3 additions and 12 deletions

View file

@ -87,7 +87,7 @@ export class MapPreview extends Combine implements FlowStep<{ bbox: BBox, layer:
const matching: UIEventSource<{ properties: any, geometry: { coordinates: [number, number] } }[]> = layerPicker.GetValue().map((layer: LayerConfig) => {
if (layer === undefined) {
return undefined;
return [];
}
const matching: { properties: any, geometry: { coordinates: [number, number] } }[] = []