Class EventExtension<EventTypeSchema>
Constructors
constructor
Type parameters
Parameters
Methods
on
- on<Key>(module: Key, listener: (value: PropType<PropType<EventTypeSchema, Key>, "handlerType">) => void, options?: PropType<PropType<EventTypeSchema, Key>, "optionType">): [() => void]
Type parameters
Key: string | number | symbol
Parameters
module: Key
listener: (value: PropType<PropType<EventTypeSchema, Key>, "handlerType">) => void
- (value: PropType<PropType<EventTypeSchema, Key>, "handlerType">): void
Parameters
value: PropType<PropType<EventTypeSchema, Key>, "handlerType">
Returns void
Optional options: PropType<PropType<EventTypeSchema, Key>, "optionType">
Returns [() => void]