refactor: add ipcMainUtils.invokeInWebContents / ipcRendererUtils.handle helpers (#17313)

This commit is contained in:
Milan Burda 2019-03-13 20:03:17 +01:00 committed by Shelley Vohr
parent df7dc9396e
commit faabd0cc8b
5 changed files with 44 additions and 5 deletions

View file

@ -55,6 +55,10 @@ declare namespace Electron {
sendToAll(webContentsId: number, channel: string, ...args: any[]): void
}
interface WebContentsInternal extends Electron.WebContents {
_sendInternal(channel: string, ...args: any[]): void;
}
const deprecate: ElectronInternal.DeprecationUtil;
}