Skip to content

Commit

Permalink
refactor(tsconfig): disable exactOptionalPropertyTypes and `esModul…
Browse files Browse the repository at this point in the history
…eInterop`
  • Loading branch information
Fab1o0107 committed Dec 21, 2023
1 parent abac84c commit f25872d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Type Checking
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": true,
"exactOptionalPropertyTypes": false,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
Expand All @@ -20,6 +20,8 @@
"module": "ESNext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"resolvePackageJsonExports": true,
"resolvePackageJsonImports": true,

// Emit
"declaration": true,
Expand All @@ -42,7 +44,7 @@

// Interop Constraints
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"esModuleInterop": false,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true
},
Expand Down

0 comments on commit f25872d

Please sign in to comment.