Skip to content

Commit

Permalink
fix: unknown default type for terser (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Sep 3, 2021
1 parent 14e5cbf commit 04f4d6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"node": ">= 10.13.0"
},
"scripts": {
"start": "npm run build -- -w",
"clean": "del-cli dist",
"clean": "del-cli dist types",
"prebuild": "npm run clean",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write && prettier types --write",
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export type DefinedDefaultMinimizerAndOptions<T> =
/**
* @template T
*/
declare class TerserPlugin<T = TerserOptions> {
declare class TerserPlugin<T> {
/**
* @private
* @param {any} input
Expand Down

0 comments on commit 04f4d6d

Please sign in to comment.