UNPKG

971 BMarkdownView Raw
1# Installation
2> `npm install --save @types/dir-glob`
3
4# Summary
5This package contains type definitions for dir-glob (https://github.com/kevva/dir-glob#readme).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dir-glob.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dir-glob/index.d.ts)
10````ts
11export = dirGlob;
12
13declare function dirGlob(input: string | string[], options?: dirGlob.Options): Promise<string[]>;
14
15declare namespace dirGlob {
16 function sync(input: string | string[], options?: Options): string[];
17
18 interface Options {
19 extensions?: string[] | undefined;
20 files?: string[] | undefined;
21 cwd?: string | undefined;
22 }
23}
24
25````
26
27### Additional Details
28 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
29 * Dependencies: none
30
31# Credits
32These definitions were written by [BendingBender](https://github.com/BendingBender).
33
\No newline at end of file