Merge pull request #94 from JLyne/dependabot/npm_and_yarn/typescript-4.4.2

Bump typescript from 4.3.5 to 4.4.2
This commit is contained in:
James Lyne 2021-08-27 03:07:51 +01:00 committed by GitHub
commit 882efa8373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

2
package-lock.json generated
View File

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

View File

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

View File

@ -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;
}