mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
[terser-webpack-plugin] bump up version (#39907)
* [terser-webpack-plugin] bump up version * source argument can be undefined
This commit is contained in:
committed by
Nathan Shively-Sanders
parent
49846d93c2
commit
b4f18cc47a
+2
-2
@@ -1,4 +1,4 @@
|
||||
// Type definitions for terser-webpack-plugin 1.2
|
||||
// Type definitions for terser-webpack-plugin 2.2
|
||||
// Project: https://github.com/webpack-contrib/terser-webpack-plugin
|
||||
// Definitions by: Daniel Schopf <https://github.com/Danscho>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -49,6 +49,6 @@ declare namespace TerserPlugin {
|
||||
| RegExp
|
||||
| ExtractCommentFn
|
||||
| ExtractCommentOptions;
|
||||
warningsFilter?: (warning: any, source: any) => boolean;
|
||||
warningsFilter?: (warning: string, source: string | undefined, file: string) => boolean;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"terser": "^3.16.1"
|
||||
"terser": "^4.3.9"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user