mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2025-01-08 01:47:28 -08:00
16 lines
392 B
TypeScript
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
|
||
|
}
|