File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ const { minify } = require("./minify");
8686/**
8787 * @typedef {Object } PredefinedOptions
8888 * @property {boolean } [module]
89- * @property {any } [ecma]
89+ * @property {TerserECMA } [ecma]
9090 */
9191
9292/**
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export = TerserPlugin;
5555/**
5656 * @typedef {Object } PredefinedOptions
5757 * @property {boolean } [module]
58- * @property {any } [ecma]
58+ * @property {TerserECMA } [ecma]
5959 */
6060/**
6161 * @template T
@@ -290,7 +290,7 @@ type CustomOptions = {
290290type InferDefaultType < T > = T extends infer U ? U : CustomOptions ;
291291type PredefinedOptions = {
292292 module ?: boolean | undefined ;
293- ecma ?: any ;
293+ ecma ?: import ( "terser" ) . ECMA | undefined ;
294294} ;
295295type MinimizerOptions < T > = PredefinedOptions & InferDefaultType < T > ;
296296type BasicMinimizerImplementation < T > = (
You can’t perform that action at this time.
0 commit comments