mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-20 12:20:37 +08:00
Add type definitions for rcloader.
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
// Type definitions for rcloader
|
||||
// Project: hhttps://github.com/spalger/rcloader
|
||||
// Definitions by: Panu Horsmalahti <https://github.com/panuhorsmalahti>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "rcloader" {
|
||||
interface Options {
|
||||
[property: string]: any;
|
||||
lookup?: boolean;
|
||||
}
|
||||
|
||||
export class RcLoader {
|
||||
constructor(configfilename: string, options: string | Options);
|
||||
for(path: string, callback?: (error: any, fileOpts: any) => void): void;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user