1 | // Type definitions for dir-glob 2.0
|
2 | // Project: https://github.com/kevva/dir-glob#readme
|
3 | // Definitions by: BendingBender <https://github.com/BendingBender>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | export = dirGlob;
|
7 |
|
8 | declare function dirGlob(input: string | string[], options?: dirGlob.Options): Promise<string[]>;
|
9 |
|
10 | declare namespace dirGlob {
|
11 | function sync(input: string | string[], options?: Options): string[];
|
12 |
|
13 | interface Options {
|
14 | extensions?: string[] | undefined;
|
15 | files?: string[] | undefined;
|
16 | cwd?: string | undefined;
|
17 | }
|
18 | }
|