mirror of
https://github.com/electron/electron.git
synced 2026-01-14 09:58:04 -05:00
9 lines
221 B
TypeScript
9 lines
221 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;
|