declarations
Version:
[](https://www.npmjs.com/package/declarations)
19 lines (15 loc) • 546 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
declare module "rcloader" {
interface Options {
[property: string]: any;
lookup?: boolean;
}
class RcLoader {
constructor(configfilename: string, options: string | Options);
for(path: string, callback?: (error: any, fileOpts: any) => void): void;
}
export = RcLoader;
}