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

0.0.36 • Public • Published

Installation

npm install --save @types/glob-expand

Summary

This package contains type definitions for glob-expand (https://github.com/anodynos/node-glob-expand).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/glob-expand.

index.d.ts

/// <reference types="glob"/>

import * as glob from "glob";

interface Option {
    filter?: string | ((filePath: string) => boolean) | undefined;
    cwd?: string | undefined;
}

type _glob = typeof glob;
declare namespace expand {
    var glob: _glob;
    var VERSION: string;
}

declare function expand(opts: Option, patterns: Array<string | RegExp>): string[];
declare function expand(opts: Option, ...patterns: Array<string | RegExp>): string[];
declare function expand(patterns: Array<string | RegExp>): string[];
declare function expand(...patterns: Array<string | RegExp>): string[];

export = expand;

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: @types/glob

Credits

These definitions were written by vvakame.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/glob-expand

Weekly Downloads

112

Version

0.0.36

License

MIT

Unpacked Size

3.85 kB

Total Files

5

Last publish

Collaborators

  • types