Get the Events type associated with a type that extends DeclareEvents<Events>.
Events
DeclareEvents
<Events>
Using it on a type that doesn't extend DeclareEvents results in a type error.
Get the
Eventstype associated with a type that extendsDeclareEvents<Events>.Using it on a type that doesn't extend DeclareEvents results in a type error.