Mixin your class with Events functionality.
import { mixin, IEventsList, IEvents } from 'ancient-mixins/lib/events'; import { TClass } from 'ancient-mixins/lib/mixins'; const MyEvents: TClass<IEvents<IEventsList>> = mixin(class {});
Generated using TypeDoc
Mixin your class with Events functionality.
import { mixin, IEventsList, IEvents } from 'ancient-mixins/lib/events'; import { TClass } from 'ancient-mixins/lib/mixins'; const MyEvents: TClass<IEvents<IEventsList>> = mixin(class {});