chore: Update Typescript to 4.4.4 (#4188)

This commit is contained in:
Lipis 2021-11-02 14:24:16 +02:00 committed by GitHub
parent 60262cb4cc
commit 8d4f455cd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 132 additions and 125 deletions

View file

@ -76,7 +76,7 @@ export const decodePngMetadata = async (blob: Blob) => {
throw new Error("FAILED");
}
return await decode(encodedData);
} catch (error) {
} catch (error: any) {
console.error(error);
throw new Error("FAILED");
}
@ -127,7 +127,7 @@ export const decodeSvgMetadata = async ({ svg }: { svg: string }) => {
throw new Error("FAILED");
}
return await decode(encodedData);
} catch (error) {
} catch (error: any) {
console.error(error);
throw new Error("FAILED");
}