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.