UNPKG

@eggjs/tegg-lifecycle

Version:

tegg lifecycle definition

9 lines (8 loc) 719 B
import type { EggProtoImplClass } from '@eggjs/tegg-types'; export declare const LifecyclePostConstruct: () => (target: object, methodName: string) => void; export declare const LifecyclePreInject: () => (target: object, methodName: string) => void; export declare const LifecyclePostInject: () => (target: object, methodName: string) => void; export declare const LifecycleInit: () => (target: object, methodName: string) => void; export declare const LifecyclePreDestroy: () => (target: object, methodName: string) => void; export declare const LifecycleDestroy: () => (target: object, methodName: string) => void; export declare const LifecyclePreLoad: () => (target: EggProtoImplClass, methodName: string) => void;