Merge pull request #12368 from openlayers/dependabot/npm_and_yarn/typescript-4.3.2

Bump typescript from 4.2.4 to 4.3.2
This commit is contained in:
Tim Schaub
2021-05-31 14:33:41 -06:00
committed by GitHub
4 changed files with 11 additions and 9 deletions

View File

@@ -128,7 +128,9 @@ class CompositeMapRenderer extends MapRenderer {
previousElement = element;
}
if ('getDeclutter' in layer) {
declutterLayers.push(layer);
declutterLayers.push(
/** @type {import("../layer/BaseVector.js").default} */ (layer)
);
}
}
for (let i = declutterLayers.length - 1; i >= 0; --i) {