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:
@@ -136,7 +136,7 @@ export function xhr(url, format) {
|
||||
* @param {import("./extent.js").Extent} extent Extent.
|
||||
* @param {number} resolution Resolution.
|
||||
* @param {import("./proj/Projection.js").default} projection Projection.
|
||||
* @param {function(): void} [success] Success
|
||||
* @param {function(Array<import("./Feature.js").default>): void} [success] Success
|
||||
* Function called when loading succeeded.
|
||||
* @param {function(): void} [failure] Failure
|
||||
* Function called when loading failed.
|
||||
|
||||
@@ -60,7 +60,7 @@ import {transformGeometryWithOptions} from './Feature.js';
|
||||
* @property {import("../style/IconAnchorUnits").default} xunits Units of x.
|
||||
* @property {number} y Y coordinate.
|
||||
* @property {import("../style/IconAnchorUnits").default} yunits Units of Y.
|
||||
* @property {import("../style/IconOrigin.js").default} origin Origin.
|
||||
* @property {import("../style/IconOrigin.js").default} [origin] Origin.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user