UNPKG

449 BTypeScriptView Raw
1export interface DelOptions {
2 /**
3 * Globby patterns.
4 */
5 patterns: string[];
6 /**
7 * @default 0 (infinite)
8 */
9 concurrency?: number;
10 verbose?: boolean;
11 silent?: boolean;
12 debug?: boolean;
13 dry?: boolean;
14}
15export declare type DelSingleOption = string;
16/**
17 * Delete files that match input patterns.
18 *
19 * @experimental
20 */
21export declare function del(_opt: DelOptions | DelSingleOption): Promise<void>;