chore: remove unused and broken ipcRendererInternal.sendTo() (#29743)
This commit is contained in:
parent
6b4c59b8d8
commit
de6696ef1d
10 changed files with 12 additions and 25 deletions
2
typings/internal-ambient.d.ts
vendored
2
typings/internal-ambient.d.ts
vendored
|
@ -35,7 +35,7 @@ declare namespace NodeJS {
|
|||
send(internal: boolean, channel: string, args: any[]): void;
|
||||
sendSync(internal: boolean, channel: string, args: any[]): any;
|
||||
sendToHost(channel: string, args: any[]): void;
|
||||
sendTo(internal: boolean, webContentsId: number, channel: string, args: any[]): void;
|
||||
sendTo(webContentsId: number, channel: string, args: any[]): void;
|
||||
invoke<T>(internal: boolean, channel: string, args: any[]): Promise<{ error: string, result: T }>;
|
||||
postMessage(channel: string, message: any, transferables: MessagePort[]): void;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue