npm.io
0.0.37 • Published 11 months ago

@types/glob-expand

Licence
MIT
Version
0.0.37
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

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 glob = require("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: Fri, 24 Oct 2025 0441 GMT
  • Dependencies: @types/glob

Credits

These definitions were written by vvakame.