diff --git a/types/gulp-filter/index.d.ts b/types/gulp-filter/index.d.ts index ba95977024..ae59b2bdb4 100644 --- a/types/gulp-filter/index.d.ts +++ b/types/gulp-filter/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/sindresorhus/gulp-filter // Definitions by: Tanguy Krotoff // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// diff --git a/types/gulp-filter/tsconfig.json b/types/gulp-filter/tsconfig.json index 43ae1fe5c5..b009c4b2ad 100644 --- a/types/gulp-filter/tsconfig.json +++ b/types/gulp-filter/tsconfig.json @@ -14,10 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "paths": { - "uglify-js": ["uglify-js/v2"] - } + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-rev-replace/index.d.ts b/types/gulp-rev-replace/index.d.ts index 322604bf1d..b385d579a9 100644 --- a/types/gulp-rev-replace/index.d.ts +++ b/types/gulp-rev-replace/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/jamesknelson/gulp-rev-replace // Definitions by: Tanguy Krotoff // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// diff --git a/types/gulp-rev-replace/tsconfig.json b/types/gulp-rev-replace/tsconfig.json index dfef77b20b..d6b9abe0ba 100644 --- a/types/gulp-rev-replace/tsconfig.json +++ b/types/gulp-rev-replace/tsconfig.json @@ -14,12 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "paths": { - "uglify-js": [ - "uglify-js/v2" - ] - } + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-uglify/index.d.ts b/types/gulp-uglify/index.d.ts index 823ce28e67..4dc340aa18 100644 --- a/types/gulp-uglify/index.d.ts +++ b/types/gulp-uglify/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Christopher Haws // Leonard Thieu // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// @@ -13,17 +14,17 @@ declare namespace GulpUglify { /** * Pass false to skip mangling names. */ - mangle?: boolean; + mangle?: UglifyJS.MangleOptions | boolean; /** * Pass if you wish to specify additional output options. The defaults are optimized for best compression. */ - output?: UglifyJS.BeautifierOptions; + output?: UglifyJS.OutputOptions; /** * Pass an object to specify custom compressor options. Pass false to skip compression completely. */ - compress?: UglifyJS.CompressorOptions | boolean; + compress?: UglifyJS.CompressOptions | boolean; } } diff --git a/types/gulp-uglify/tsconfig.json b/types/gulp-uglify/tsconfig.json index 70663fcc71..b759e9fc57 100644 --- a/types/gulp-uglify/tsconfig.json +++ b/types/gulp-uglify/tsconfig.json @@ -14,12 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "paths": { - "uglify-js": [ - "uglify-js/v2" - ] - } + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/gulp-useref/index.d.ts b/types/gulp-useref/index.d.ts index ba95c68308..36cd0ddc24 100644 --- a/types/gulp-useref/index.d.ts +++ b/types/gulp-useref/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/jonkemp/gulp-useref // Definitions by: Tanguy Krotoff // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// diff --git a/types/gulp-useref/tsconfig.json b/types/gulp-useref/tsconfig.json index f3867032fa..b8a3dc7bba 100644 --- a/types/gulp-useref/tsconfig.json +++ b/types/gulp-useref/tsconfig.json @@ -14,10 +14,7 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true, - "paths": { - "uglify-js": ["uglify-js/v2"] - } + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", diff --git a/types/uglify-js/index.d.ts b/types/uglify-js/index.d.ts index 7589ba8e86..add459c62d 100644 --- a/types/uglify-js/index.d.ts +++ b/types/uglify-js/index.d.ts @@ -165,7 +165,7 @@ export interface OutputOptions { indent_start?: boolean; inline_script?: boolean; keep_quoted_props?: boolean; - max_line_len?: boolean; + max_line_len?: boolean | number; preamble?: string; preserve_line?: boolean; quote_keys?: boolean; diff --git a/types/uglify-js/v2/index.d.ts b/types/uglify-js/v2/index.d.ts index d9410070a9..2813ec45b0 100644 --- a/types/uglify-js/v2/index.d.ts +++ b/types/uglify-js/v2/index.d.ts @@ -159,7 +159,7 @@ declare namespace UglifyJS { /** * Maximum line length (for non-beautified output) */ - max_line_len?: number; + max_line_len?: boolean | number; /** * Output IE-safe code?