@dazejs/framework
Version:
Daze.js - A powerful web framework for Node.js
16 lines (15 loc) • 443 B
TypeScript
export declare class Loader {
private app;
loadedComponents: Map<string, {
target: any;
file: string;
}[]>;
autoScanApp(): Promise<void>;
scan(absoluteFilePath: string): Promise<this>;
getComponentsByType(type: any): any[] | undefined;
getComponentsWithFileByType(type: any): {
target: any;
file: string;
}[] | undefined;
load(Target: any, file: string): this | undefined;
}