mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-13 22:40:50 +08:00
Merge pull request #7585 from AyaMorisawa/del-2.2.0
Update del.d.ts 1.2.0 -> 2.2.0
This commit is contained in:
@@ -35,3 +35,5 @@ paths = del.sync(["tmp/*.js", "!tmp/unicorn.js"], {force: true});
|
||||
paths = del.sync("tmp/*.js");
|
||||
|
||||
paths = del.sync("tmp/*.js", {force: true});
|
||||
|
||||
paths = del.sync("tmp/*.js", {dryRun: true});
|
||||
|
||||
7
del/del.d.ts
vendored
7
del/del.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
// Type definitions for del v1.2.0
|
||||
// Type definitions for del v2.2.0
|
||||
// Project: https://github.com/sindresorhus/del
|
||||
// Definitions by: Asana <https://asana.com>
|
||||
// Definitions by: Asana <https://asana.com>, Aya Morisawa <https://github.com/AyaMorisawa>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../glob/glob.d.ts"/>
|
||||
@@ -20,7 +20,8 @@ declare module "del" {
|
||||
function sync(patterns: string[], options?: Options): string[];
|
||||
|
||||
interface Options extends glob.IOptions {
|
||||
force?: boolean
|
||||
force?: boolean;
|
||||
dryRun?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user