EventEmitterStore
@tsed/event-emitter
Usage
typescript
import { EventEmitterStore } from "@tsed/event-emitter";
See /packages/third-parties/event-emitter/src/types/interfaces/EventEmitterStore.ts.
Overview
ts
interface EventEmitterStore {
onEvent?: {
[propertyKey: string]: {
event: event | eventNS;
options?: boolean | OnOptions;
};
};
onAny?: {
[propertyKey: string]: {};
};
}
onEvent
ts
onEvent?: {
[propertyKey: string]: {
event: event | eventNS;
options?: boolean | OnOptions;
};
};
onAny
ts
onAny?: {
[propertyKey: string]: {};
};