Major Changes
- export class
EventEmitter
instead of interfaceTypedEventEmitter
EventMap
now takesRecord<string | symbol, unknown[]>
instead ofRecord<string | symbol, (...args: any[]) => void>
Minor Changes
- Add
Listener
EventEmitter
instead of interface TypedEventEmitter
EventMap
now takes Record<string | symbol, unknown[]>
instead of Record<string | symbol, (...args: any[]) => void>
Listener