Fixed interface Options

This commit is contained in:
Keisuke Kan
2016-08-26 11:09:07 +09:00
parent ddc0afa314
commit f7b4206312
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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);
}
}