OtherCommonEventEmitterCommonEventEmitter.onVersion: 23.7.1On this pageCommonEventEmitter.on() method Signature interface CommonEventEmitter { on<Key extends keyof Events>(type: Key, handler: Handler<Events[Key]>): this;} Parameters ParameterTypeDescriptiontypeKeyhandlerHandler<Events[Key]> Returns: this