mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
450 B
TypeScript
17 lines
450 B
TypeScript
// Type definitions for require-dir 1.0
|
|
// Project: https://github.com/aseemk/requireDir
|
|
// Definitions by: weekens <https://github.com/weekens>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
interface options {
|
|
recurse?: boolean;
|
|
duplicates?: boolean;
|
|
filter?: any;
|
|
mapKey?: any;
|
|
mapValue?: any;
|
|
}
|
|
|
|
declare function requireDir(directory: string, options?: options): { [path: string]: any };
|
|
|
|
export = requireDir;
|