conflakes
Version:
Manager of the configuration, may be depending on the environment, with the ability to import another config files defined inside themselves.
10 lines (9 loc) • 429 B
TypeScript
import { LoaderResolverInterface } from "./LoaderResolverInterface";
import { LoaderInterface } from "./LoaderInterface";
export declare class LoaderResolver implements LoaderResolverInterface {
private loaders;
constructor(loaders?: Array<LoaderInterface>);
resolve(resource: any, type?: string | null): LoaderInterface | boolean;
addLoader(loader: LoaderInterface): void;
getLoaders(): LoaderInterface[];
}