2.1.5 • Published 6 months ago
@types/deglob v2.1.5
Installation
npm install --save @types/deglob
Summary
This package contains type definitions for deglob v (https://github.com/standard/deglob).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/deglob.
index.d.ts
// Type definitions for deglob v 2.1
// Project: https://github.com/standard/deglob, https://github.com/flet/deglob
// Definitions by: Saad Quadri <https://github.com/saadq>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Thu, 08 Jul 2021 09:08:38 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Saad Quadri.