1 | # Installation
|
2 | > `npm install --save @types/dir-glob`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for dir-glob (https://github.com/kevva/dir-glob#readme).
|
6 |
|
7 | # Details
|
8 | Files 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
|
11 | export = dirGlob;
|
12 |
|
13 | declare function dirGlob(input: string | string[], options?: dirGlob.Options): Promise<string[]>;
|
14 |
|
15 | declare 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
|
32 | These definitions were written by [BendingBender](https://github.com/BendingBender).
|
33 |
|
\ | No newline at end of file |