fix typing error

This commit is contained in:
2023-11-10 19:57:29 +01:00
parent 91f88aa328
commit 293ae8bb7d

View File

@ -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