Riven/riven/srcgen/node_modules/glob-promise/lib/index.d.ts

16 lines
392 B
TypeScript

import glob = require('glob')
export = promise
declare const promise: Export
declare type GlobPromise = (pattern: string, options?: glob.IOptions) => Promise<string[]>
declare interface Export extends GlobPromise {
readonly glob: typeof glob
readonly Glob: typeof glob.Glob
readonly hasMagic: typeof glob.hasMagic
readonly sync: typeof glob.sync
readonly promise: GlobPromise
}