Installation
npm install --save @types/require-all
Summary
This package contains type definitions for require-all (https://github.com/felixge/node-require-all#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-all.
interface Options {
dirname: string;
filter?: ((name: string, path: string) => string | false | undefined) | RegExp | undefined;
excludeDirs?: RegExp | undefined;
map?: ((name: string, path: string) => string) | undefined;
resolve?: ((module: any) => any) | undefined;
recursive?: true | false | undefined;
}
declare function requireAll(options: string | Options): { [key: string]: any };
export = requireAll;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Ivan Sadykov.