tsconfig: Make typescript typescriptier
This commit is contained in:
parent
4b188a0393
commit
28bf2fd24b
1 changed files with 6 additions and 3 deletions
|
|
@ -1,10 +1,8 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist/",
|
||||
"noImplicitAny": true,
|
||||
"module": "esnext",
|
||||
"target": "es2021",
|
||||
"downlevelIteration": true, // Needed to allow iteration over some objects like Map() while target is es5
|
||||
"jsx": "react-jsx",
|
||||
"sourceMap": true,
|
||||
"allowJs": true,
|
||||
|
|
@ -13,8 +11,13 @@
|
|||
"vitest/globals",
|
||||
"@testing-library/jest-dom"
|
||||
],
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"skipLibCheck": true,
|
||||
"resolveJsonModule": true,
|
||||
"incremental": true,
|
||||
"exactOptionalPropertyTypes": true,
|
||||
"strictNullChecks": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"paths": {
|
||||
"*": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue