Skip to content

Commit 803787e

Browse files
committed
Add useUnknownInCatchVariables to tsconfig
1 parent ca8dd22 commit 803787e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.config/tsconfig.base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"strict": true,
1919
"strictNullChecks": true,
2020
"target": "esnext",
21+
"useUnknownInCatchVariables": true,
2122

2223
/* New checks being tried out */
2324
"exactOptionalPropertyTypes": true,

0 commit comments

Comments
 (0)