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

2.0.3 • Public • Published

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

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.

/@types/dir-glob/

    Package Sidebar

    Install

    npm i @types/dir-glob

    Weekly Downloads

    18,583

    Version

    2.0.3

    License

    MIT

    Unpacked Size

    3.28 kB

    Total Files

    5

    Last publish

    Collaborators

    • types