mirror of
https://github.com/electron/electron.git
synced 2026-02-01 10:45:01 -05:00
7 lines
252 B
TypeScript
7 lines
252 B
TypeScript
import { IpcMainImpl } from '@electron/internal/browser/ipc-main-impl'
|
|
|
|
export const ipcMainInternal = new IpcMainImpl() as ElectronInternal.IpcMainInternal
|
|
|
|
// Do not throw exception when channel name is "error".
|
|
ipcMainInternal.on('error', () => {})
|