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
+6 -6
View File
@@ -10562,9 +10562,9 @@
} }
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "4.2.4", "version": "4.3.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz",
"integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==", "integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==",
"dev": true, "dev": true,
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
@@ -19747,9 +19747,9 @@
} }
}, },
"typescript": { "typescript": {
"version": "4.2.4", "version": "4.3.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz",
"integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==", "integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==",
"dev": true "dev": true
}, },
"ua-parser-js": { "ua-parser-js": {
+1 -1
View File
@@ -136,7 +136,7 @@ export function xhr(url, format) {
* @param {import("./extent.js").Extent} extent Extent. * @param {import("./extent.js").Extent} extent Extent.
* @param {number} resolution Resolution. * @param {number} resolution Resolution.
* @param {import("./proj/Projection.js").default} projection Projection. * @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. * Function called when loading succeeded.
* @param {function(): void} [failure] Failure * @param {function(): void} [failure] Failure
* Function called when loading failed. * Function called when loading failed.
+1 -1
View File
@@ -60,7 +60,7 @@ import {transformGeometryWithOptions} from './Feature.js';
* @property {import("../style/IconAnchorUnits").default} xunits Units of x. * @property {import("../style/IconAnchorUnits").default} xunits Units of x.
* @property {number} y Y coordinate. * @property {number} y Y coordinate.
* @property {import("../style/IconAnchorUnits").default} yunits Units of Y. * @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.
*/ */
/** /**
+3 -1
View File
@@ -128,7 +128,9 @@ class CompositeMapRenderer extends MapRenderer {
previousElement = element; previousElement = element;
} }
if ('getDeclutter' in layer) { 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) { for (let i = declutterLayers.length - 1; i >= 0; --i) {