Skip to content

Commit

Permalink
Add array type
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Nov 26, 2024
1 parent 992697e commit 582f202
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ async function fitBoundsOfFeatures(features: FeatureCollection) {
}
function updateFeatureSelection(selected: Ref<string[]>) {
const layers = []
const layers: Array<string> = [];
overlays.forEach((overlay) => {
layers.push(...overlay.layerdefinitions.map(
(layerDefinition) => layerDefinition.id,
Expand Down

0 comments on commit 582f202

Please sign in to comment.