Update typescript
This commit is contained in:
parent
37227ea94a
commit
d4e08970a6
14
package-lock.json
generated
14
package-lock.json
generated
@ -43,7 +43,7 @@
|
|||||||
"sass": "^1.52",
|
"sass": "^1.52",
|
||||||
"ts-jest": "^27.1.4",
|
"ts-jest": "^27.1.4",
|
||||||
"ts-node": "^10.8.1",
|
"ts-node": "^10.8.1",
|
||||||
"typescript": "^4.5",
|
"typescript": "^4.7",
|
||||||
"vite": "2.9.12",
|
"vite": "2.9.12",
|
||||||
"vite-plugin-svg-sprite-component": "^1.0",
|
"vite-plugin-svg-sprite-component": "^1.0",
|
||||||
"vue-tsc": "0.37.9"
|
"vue-tsc": "0.37.9"
|
||||||
@ -9400,9 +9400,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/typescript": {
|
"node_modules/typescript": {
|
||||||
"version": "4.5.5",
|
"version": "4.7.3",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.3.tgz",
|
||||||
"integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==",
|
"integrity": "sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
@ -16781,9 +16781,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"typescript": {
|
"typescript": {
|
||||||
"version": "4.5.5",
|
"version": "4.7.3",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.3.tgz",
|
||||||
"integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==",
|
"integrity": "sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"unbox-primitive": {
|
"unbox-primitive": {
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
"sass": "^1.52",
|
"sass": "^1.52",
|
||||||
"ts-jest": "^27.1.4",
|
"ts-jest": "^27.1.4",
|
||||||
"ts-node": "^10.8.1",
|
"ts-node": "^10.8.1",
|
||||||
"typescript": "^4.5",
|
"typescript": "^4.7",
|
||||||
"vite": "2.9.12",
|
"vite": "2.9.12",
|
||||||
"vite-plugin-svg-sprite-component": "^1.0",
|
"vite-plugin-svg-sprite-component": "^1.0",
|
||||||
"vue-tsc": "0.37.9"
|
"vue-tsc": "0.37.9"
|
||||||
|
@ -49,7 +49,7 @@ export class LiveAtlasLayerControl extends Control.Layers {
|
|||||||
|
|
||||||
constructor(baseLayers?: LayersObject, overlays?: LayersObject, options?: LayersOptions) {
|
constructor(baseLayers?: LayersObject, overlays?: LayersObject, options?: LayersOptions) {
|
||||||
// noinspection JSUnusedGlobalSymbols
|
// noinspection JSUnusedGlobalSymbols
|
||||||
super(baseLayers, overlays, Object.assign(options, {
|
super(baseLayers, overlays, Object.assign(options || {}, {
|
||||||
sortLayers: true,
|
sortLayers: true,
|
||||||
sortFunction: (layer1: Layer, layer2: Layer, name1: string, name2: string) => {
|
sortFunction: (layer1: Layer, layer2: Layer, name1: string, name2: string) => {
|
||||||
const priority1 = this._layerPositions.get(layer1) || 0,
|
const priority1 = this._layerPositions.get(layer1) || 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user