mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Fixed interface Options
This commit is contained in:
@@ -14,7 +14,7 @@ gulp.task('compress2', function() {
|
||||
var tsResult = gulp.src('lib/*.ts')
|
||||
.pipe(uglify({
|
||||
mangle: false,
|
||||
preserverComments: "some",
|
||||
preserveComments: "some",
|
||||
compress: false,
|
||||
output: {
|
||||
max_line_len: 300
|
||||
|
||||
Vendored
+1
-1
@@ -32,7 +32,7 @@ declare module "gulp-uglify" {
|
||||
* some - Preserve comments that start with a bang (!) or include a Closure Compiler directive (@preserve, @license, @cc_on)
|
||||
* function - Specify your own comment preservation function. You will be passed the current node and the current comment and are expected to return either true or false.
|
||||
*/
|
||||
preserverComments?: string|((node: any, comment: UglifyJS.Tokenizer) => boolean);
|
||||
preserveComments?: string|((node: any, comment: UglifyJS.Tokenizer) => boolean);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user