An object where keys are the names of events and values are the type signature of the listener function.
interface SafeEvents extends EventListeners { start: () => void; finish: (error: Error) => void;} Copy
interface SafeEvents extends EventListeners { start: () => void; finish: (error: Error) => void;}
Typed EventEmitter
An object where keys are the names of events and values are the type signature of the listener function.