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

12
package-lock.json generated
View File

@@ -10562,9 +10562,9 @@
}
},
"node_modules/typescript": {
"version": "4.2.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz",
"integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==",
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz",
"integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
@@ -19747,9 +19747,9 @@
}
},
"typescript": {
"version": "4.2.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz",
"integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==",
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz",
"integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==",
"dev": true
},
"ua-parser-js": {

View File

@@ -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.

View File

@@ -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.
*/
/**

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) {