@dazejs/framework
Version:
Daze.js - A powerful web framework for Node.js
14 lines (13 loc) • 750 B
TypeScript
export declare const Depends: (...providers: Function[] | Function[][]) => (constructor: Function) => void;
export declare const Imports: (...providers: Function[] | Function[][]) => (constructor: Function) => void;
export declare const AutoScan: (...componentScans: string[] | string[][]) => (constructor: Function) => void;
export declare const Provider: (providerOption?: ProviderOption) => ClassDecorator;
export declare const OnlyAgent: () => ClassDecorator;
export declare const AppendAgent: () => ClassDecorator;
export declare const OnlyMaster: () => ClassDecorator;
export declare const AppendMaster: () => ClassDecorator;
export interface ProviderOption {
depends?: Function[];
imports?: Function[];
componentScan?: string[];
}