Adds useUnknownInCatchVariables and disallows .js in tsconfig (#1033)

pull/909/head
Alex van Andel 2021-10-22 21:08:04 +01:00 committed by GitHub
parent d780e39241
commit 1649d41dd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,6 @@
"@server/*": ["server/*"],
"@ee/*": ["ee/*"]
},
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"strictNullChecks": true,
@ -20,9 +19,10 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"useUnknownInCatchVariables": true,
"jsx": "preserve",
"types": ["@types/jest", "jest-playwright-preset", "expect-playwright"]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "lib/*.js"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}