mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
546 B
TypeScript
19 lines
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;
|
|
}
|