UNPKG

@types/dir-glob

Version:
33 lines (24 loc) 971 B
# Installation > `npm install --save @types/dir-glob` # Summary This package contains type definitions for dir-glob (https://github.com/kevva/dir-glob#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dir-glob. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dir-glob/index.d.ts) ````ts export = dirGlob; declare function dirGlob(input: string | string[], options?: dirGlob.Options): Promise<string[]>; declare namespace dirGlob { function sync(input: string | string[], options?: Options): string[]; interface Options { extensions?: string[] | undefined; files?: string[] | undefined; cwd?: string | undefined; } } ```` ### Additional Details * Last updated: Mon, 06 Nov 2023 22:41:05 GMT * Dependencies: none # Credits These definitions were written by [BendingBender](https://github.com/BendingBender).