refactor: simplify events (#37099)

This commit is contained in:
Jeremy Rose
2023-02-13 13:39:18 -08:00
committed by GitHub
parent 8b3e498436
commit 71944f2c3b
32 changed files with 290 additions and 409 deletions

View File

@@ -197,10 +197,6 @@ declare namespace NodeJS {
_linkedBinding(name: 'electron_browser_desktop_capturer'): {
createDesktopCapturer(): ElectronInternal.DesktopCapturer;
};
_linkedBinding(name: 'electron_browser_event'): {
createWithSender(sender: Electron.WebContents): Electron.Event;
createEmpty(): Electron.Event;
};
_linkedBinding(name: 'electron_browser_event_emitter'): {
setEventEmitterPrototype(prototype: Object): void;
};