From 293ae8bb7dc1170eb59cddccbc2f066ec04b0c64 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Fri, 10 Nov 2023 19:57:29 +0100 Subject: [PATCH] fix typing error --- src/WindowBehavior.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WindowBehavior.ts b/src/WindowBehavior.ts index f85c6b6..44ae5c4 100644 --- a/src/WindowBehavior.ts +++ b/src/WindowBehavior.ts @@ -16,7 +16,7 @@ const handleResize = (canvas: HTMLCanvasElement) => { } }; -const saveBeforeExit = (app: Editor): void => { +const saveBeforeExit = (app: Editor): null => { // @ts-ignore event.preventDefault(); // Iterate over all local files and set the candidate to the committed