UNPKG

@jeaks03/overseer

Version:

Just another TypeScript Back-End framework

9 lines (8 loc) 498 B
export declare function LifecycleEvent(type: LifecycleEventType): any; export declare function OnInit(): (target: any, propertyKey: string | symbol, descriptor: PropertyDescriptor) => PropertyDescriptor; export declare function AfterInit(): (target: any, propertyKey: string | symbol, descriptor: PropertyDescriptor) => PropertyDescriptor; export declare type LifecycleEventType = 'onInit' | 'afterInit'; export interface LifecycleCallbacks { onInit?: () => void; afterInit?: () => void; }