mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
23 lines
704 B
TypeScript
23 lines
704 B
TypeScript
// Type definitions for del 3.0
|
|
// Project: https://github.com/sindresorhus/del
|
|
// Definitions by: Asana <https://asana.com>
|
|
// Aya Morisawa <https://github.com/AyaMorisawa>
|
|
// BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
import glob = require("glob");
|
|
|
|
declare function del(patterns: string | string[], options?: del.Options): Promise<string[]>;
|
|
|
|
declare namespace del {
|
|
function sync(patterns: string | string[], options?: Options): string[];
|
|
|
|
interface Options extends glob.IOptions {
|
|
force?: boolean;
|
|
dryRun?: boolean;
|
|
concurrency?: number;
|
|
}
|
|
}
|
|
|
|
export = del;
|