Skip to content

Commit

Permalink
chore: update typescript (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
ersachin3112 authored Jan 20, 2023
1 parent e32b5b3 commit d0520d3
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 16 deletions.
39 changes: 26 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"@swc/css": "^0.0.18",
"@types/clean-css": "^4.2.5",
"@types/csso": "^5.0.0",
"@types/node": "^18.11.18",
"@types/serialize-javascript": "^5.0.2",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
"babel-jest": "^29.3.1",
Expand Down Expand Up @@ -111,7 +112,7 @@
"sass-loader": "^13.2.0",
"standard-version": "^9.5.0",
"sugarss": "^4.0.1",
"typescript": "^4.6.4",
"typescript": "^4.9.4",
"webpack": "^5.75.0"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,12 @@ type BasicMinimizerImplementation<T> = (
minifyOptions: InferDefaultType<T>
) => Promise<MinimizedResult>;
type MinimizerImplementation<T> = T extends any[]
? T extends infer T_1
? T extends infer T_1 extends any[]
? { [P in keyof T_1]: BasicMinimizerImplementation<T[P]> }
: never
: BasicMinimizerImplementation<T>;
type MinimizerOptions<T> = T extends any[]
? T extends infer T_1
? T extends infer T_1 extends any[]
? { [P in keyof T_1]?: InferDefaultType<T[P]> | undefined }
: never
: InferDefaultType<T>;
Expand Down

0 comments on commit d0520d3

Please sign in to comment.