fix expect-error in viewmgr

This commit is contained in:
Evan Simkowitz 2024-10-17 14:52:51 -07:00
parent 46783ba315
commit 7eeb6e89f5
No known key found for this signature in database

View File

@ -401,6 +401,7 @@ function createBaseWaveBrowserWindow(
win.alreadyClosed = false;
win.allTabViews = new Map<string, WaveTabView>();
win.on(
// @ts-expect-error
"resize",
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
);
@ -411,6 +412,7 @@ function createBaseWaveBrowserWindow(
positionTabOnScreen(win.activeTabView, win.getContentBounds());
});
win.on(
// @ts-expect-error
"move",
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
);