UNPKG

464 BTypeScriptView Raw
1import { EventListenerType } from "../metadata/types/EventListenerTypes";
2/**
3 * Arguments for EntityListenerMetadata class.
4 */
5export interface EntityListenerMetadataArgs {
6 /**
7 * Class to which listener is applied.
8 */
9 readonly target: Function;
10 /**
11 * Class's property name to which listener is applied.
12 */
13 readonly propertyName: string;
14 /**
15 * The type of the listener.
16 */
17 readonly type: EventListenerType;
18}