@types/deglob
TypeScript icon, indicating that this package has built-in type declarations

2.1.5 • Public • Published

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

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.

/@types/deglob/

    Package Sidebar

    Install

    npm i @types/deglob

    Weekly Downloads

    195

    Version

    2.1.5

    License

    MIT

    Unpacked Size

    3.58 kB

    Total Files

    5

    Last publish

    Collaborators

    • types