UNPKG

@types/deglob

Version:
37 lines (28 loc) 1.12 kB
# Installation > `npm install --save @types/deglob` # Summary This package contains type definitions for deglob (https://github.com/standard/deglob). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/deglob. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/deglob/index.d.ts) ````ts type Callback = (err: Error | null, files: string[]) => void; declare function deglob(patterns: string[], cb: Callback): void; declare function deglob(patterns: string[], opts: deglob.Options, cb: Callback): void; declare namespace deglob { interface Options { useGitIgnore?: boolean | undefined; usePackageJson?: boolean | undefined; configKey?: string | undefined; gitIgnoreFile?: string | undefined; ignore?: string[] | undefined; cwd?: string | undefined; } } export = deglob; ```` ### Additional Details * Last updated: Mon, 06 Nov 2023 22:41:05 GMT * Dependencies: none # Credits These definitions were written by [Saad Quadri](https://github.com/saadq).