mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-22 02:41:23 +01:00
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:
parent
594bc6839a
commit
88445b2f1d
@ -471,10 +471,12 @@ function createBrowserWindow(clientId: string, waveWindow: WaveWindow, fullConfi
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
win.on(
|
win.on(
|
||||||
|
// @ts-expect-error
|
||||||
"resize",
|
"resize",
|
||||||
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
|
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
|
||||||
);
|
);
|
||||||
win.on(
|
win.on(
|
||||||
|
// @ts-expect-error
|
||||||
"move",
|
"move",
|
||||||
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
|
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user