5790869a3f
* chore: refactor browser IPC into typescript * chore: refactor app.ts into Typescript * Refactors app.dock into cpp * Removes app.launcher which has not existed for 3 years * Removes 2 deprecated APIs (that have been deprecated for more than one major) * Refactors deprecate.ts as well
8 lines
185 B
TypeScript
8 lines
185 B
TypeScript
import { EventEmitter } from 'events'
|
|
|
|
const emitter = new EventEmitter()
|
|
|
|
// Do not throw exception when channel name is "error".
|
|
emitter.on('error', () => {})
|
|
|
|
export default emitter
|