DefinitelyTyped/types/rcloader/index.d.ts
2017-03-24 14:27:52 -07:00

18 lines
489 B
TypeScript

// Type definitions for rcloader
// Project: https://github.com/spalger/rcloader
// Definitions by: Panu Horsmalahti <https://github.com/panuhorsmalahti>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface Options {
[property: string]: any;
lookup?: boolean;
}
declare class RcLoader {
constructor(configfilename: string, options: string | Options);
for(path: string, callback?: (error: any, fileOpts: any) => void): void;
}
export = RcLoader;