mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
9 lines
217 B
TypeScript
9 lines
217 B
TypeScript
import { IpcMainImpl } from '@electron/internal/browser/ipc-main-impl'
|
|
|
|
const ipcMain = new IpcMainImpl()
|
|
|
|
// Do not throw exception when channel name is "error".
|
|
ipcMain.on('error', () => {})
|
|
|
|
export default ipcMain
|