UNPKG

@cashfarm/plow

Version:

Library for validating input data and parameters

15 lines (14 loc) 440 B
import { ConcreteType } from '@cashfarm/lang'; /** * IDomain event symbol * * Should be used for binding domain events to inversion of control containers */ export declare const IDomainEvent: symbol; export interface IDomainEvent { } /** * Registers the class as a Domain Event * @param name The name of the event */ export declare function DomainEvent(fqn: string, eventName?: string): (target: ConcreteType<IDomainEvent>) => void;