From 582f202afcf588e301c16df2f8a374867c18fe11 Mon Sep 17 00:00:00 2001 From: Cyrus Hiatt Date: Tue, 26 Nov 2024 11:07:27 -0800 Subject: [PATCH] Add array type --- .../components/InteractiveMap/components/MapComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afrc/src/afrc/Search/components/InteractiveMap/components/MapComponent.vue b/afrc/src/afrc/Search/components/InteractiveMap/components/MapComponent.vue index 2d00a5b..a2a9d80 100644 --- a/afrc/src/afrc/Search/components/InteractiveMap/components/MapComponent.vue +++ b/afrc/src/afrc/Search/components/InteractiveMap/components/MapComponent.vue @@ -195,7 +195,7 @@ async function fitBoundsOfFeatures(features: FeatureCollection) { } function updateFeatureSelection(selected: Ref) { - const layers = [] + const layers: Array = []; overlays.forEach((overlay) => { layers.push(...overlay.layerdefinitions.map( (layerDefinition) => layerDefinition.id,