UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

19 lines (15 loc) 546 B
// 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; }