UNPKG

flow-declarations

Version:

High quality type declarations for flow.js

50 lines (44 loc) 1.11 kB
// copy from https://github.com/flowtype/flow-typed/blob/master/definitions/npm/del_v3.x.x/flow_v0.25.x-/del_v3.x.x.js type $npm$del$Patterns = string[] | string; type $npm$del$Options = { force?: boolean, dryRun?: boolean, concurrency?: number, // remaining options are passed through to node-glob: cwd?: string, root?: string, dot?: boolean, nomount?: boolean, mark?: boolean, nosort?: boolean, stat?: boolean, silent?: boolean, strict?: boolean, cache?: Object, statCache?: Object, symlinks?: Object, realpathCache?: Object, nounique?: boolean, nonull?: boolean, debug?: boolean, nobrace?: boolean, noglobstar?: boolean, noext?: boolean, nocase?: boolean, matchBase?: boolean, nodir?: boolean, ignore?: string | string[], follow?: boolean, realpath?: boolean, absolute?: boolean }; declare module "del" { declare class Del { ( patterns: $npm$del$Patterns, options?: $npm$del$Options ): Promise<string[]>, sync(patterns: $npm$del$Patterns, options?: $npm$del$Options): string[] } declare module.exports: Del; }