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
34 changed files with 132 additions and 125 deletions

View File

@@ -93,7 +93,7 @@ export const exportCanvas = async (
} else if (type === "clipboard") {
try {
await copyBlobToClipboardAsPng(blob);
} catch (error) {
} catch (error: any) {
if (error.name === "CANVAS_POSSIBLY_TOO_BIG") {
throw error;
}