union of dispatched events
the name of event
the class of the event
Optional
options: boolean | AddEventListenerOptionsOptional
the name of event
the class of the event
Optional
options: boolean | EventListenerOptionsOptional
Generated using TypeDoc
Decorator for EventTarget allowing to strongly type events and listeners
Link
https://rjzaworski.com/2021/06/event-target-with-typescript