UNPKG

@eggjs/tegg-loader

Version:

tegg default loader implement

13 lines (12 loc) 401 B
import type { EggProtoImplClass } from '@eggjs/tegg-types'; interface LoaderUtilConfig { extraFilePattern?: string[]; } export declare class LoaderUtil { static config: LoaderUtilConfig; static setConfig(config: LoaderUtilConfig): void; static get extension(): ".ts" | ".js"; static filePattern(): string[]; static loadFile(filePath: string): EggProtoImplClass[]; } export {};