OtherCommonEventEmitterCommonEventEmitter.onVersion: 22.8.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