diff --git a/package-lock.json b/package-lock.json index 366c399..4551e9c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "patch-package": "^6.4", "rollup-plugin-analyzer": "^4.0", "sass": "^1.38", - "typescript": "^4.3", + "typescript": "^4.4", "vite": "^2.5", "vite-plugin-svg-sprite-component": "^1.0", "vue-tsc": "0.3.0" diff --git a/package.json b/package.json index 5ecd0c6..0ce0836 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "patch-package": "^6.4", "rollup-plugin-analyzer": "^4.0", "sass": "^1.38", - "typescript": "^4.3", + "typescript": "^4.4", "vite": "^2.5", "vite-plugin-svg-sprite-component": "^1.0", "vue-tsc": "0.3.0" diff --git a/src/leaflet/tileLayer/LiveAtlasTileLayer.ts b/src/leaflet/tileLayer/LiveAtlasTileLayer.ts index 4c4ea3d..b3d573a 100644 --- a/src/leaflet/tileLayer/LiveAtlasTileLayer.ts +++ b/src/leaflet/tileLayer/LiveAtlasTileLayer.ts @@ -118,7 +118,7 @@ export abstract class LiveAtlasTileLayer extends TileLayer { //The tile onload listener will take it from here const blob = await response.blob(); tile.src = URL.createObjectURL(blob); - } catch(e) { + } catch(e: any) { if (e instanceof DOMException && e.name === 'AbortError') { return; }