createGenericEventEmitterClass<T>(): (new () => T)
Creates a class that is an implementation of EventEmitter
but with specific typings based on GenericEventEmitter.
Useful in case a class needs to extend EventEmitter and wants specific internal typings.
Creates a class that is an implementation of EventEmitter but with specific typings based on GenericEventEmitter. Useful in case a class needs to extend EventEmitter and wants specific internal typings.