Make RcLoader module a class.

This commit is contained in:
Panu Horsmalahti
2015-12-25 14:26:04 +02:00
parent 32a0136788
commit fdaec58796
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -9,8 +9,10 @@ declare module "rcloader" {
lookup?: boolean;
}
export class RcLoader {
class RcLoader {
constructor(configfilename: string, options: string | Options);
for(path: string, callback?: (error: any, fileOpts: any) => void): void;
}
export = RcLoader;
}