Updates for TypeScript v4.6.0-beta

This commit is contained in:
Andreas Hocevar
2022-01-26 14:59:24 +01:00
parent deaa0ccc2a
commit 2e5c1f2af9
10 changed files with 67 additions and 32 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ class TileJSON extends TileImage {
if (!client.status || (client.status >= 200 && client.status < 300)) {
let response;
try {
response = /** @type {TileJSON} */ (JSON.parse(client.responseText));
response = /** @type {Config} */ (JSON.parse(client.responseText));
} catch (err) {
this.handleTileJSONError();
return;