Add expect-error to two emain event handlers (#1052)

There were two type errors after the most recent electron upgrade, but
they're both benign (event handler parameter mismatch) so I am adding
ts-expect-error to both instances.
This commit is contained in:
Evan Simkowitz 2024-10-17 13:17:47 -04:00 committed by GitHub
parent 594bc6839a
commit 88445b2f1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -471,10 +471,12 @@ function createBrowserWindow(clientId: string, waveWindow: WaveWindow, fullConfi
}
});
win.on(
// @ts-expect-error
"resize",
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
);
win.on(
// @ts-expect-error
"move",
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
);