2.0.3 • Published 6 months ago

@types/dir-glob v2.0.3

Weekly downloads
97,832
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for dir-glob 2.0
// Project: https://github.com/kevva/dir-glob#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Tue, 06 Jul 2021 20:32:45 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by BendingBender.