mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-13 04:20:05 +02:00
chore: Update Typescript to 4.4.4 (#4188)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user