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:
Horiuchi_H
2016-01-13 11:38:29 +09:00
2 changed files with 6 additions and 3 deletions

View File

@@ -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
View File

@@ -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;
}
}