Fixed Broken TSConfig

This commit is contained in:
Christopher Allford 2021-11-16 14:11:33 -08:00
parent 78e7039944
commit e29a4b2a0a
1 changed files with 23 additions and 31 deletions

View File

@ -1,40 +1,32 @@
{ {
"compilerOptions": { "compilerOptions": {
// Target the latest version of ECMAScript.
"target": "esnext",
"module": "esnext",
// Support incremental project builds in the compiler.
"composite": true,
"incremental": true,
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
// Support vanilla JavaScript and type-check it.
"allowJs": true, "allowJs": true,
"checkJs": true, "checkJs": true,
"allowSyntheticDefaultImports": true,
// Ensures all modules are compatible with ES6 import syntax. "jsx": "preserve",
"esModuleInterop": true, "target": "es6",
"module": "commonjs",
// Allow JSON files to be imported as objects. "incremental": true,
"resolveJsonModule": true, "declaration": true,
// Support mapping transpiled files back to source files.
"sourceMap": true,
"declarationMap": true, "declarationMap": true,
"composite": true,
"emitDeclarationOnly": false,
"isolatedModules": true,
// Enable all of the strict type checks. /* Strict Type-Checking Options */
"strict": true, "strict": true,
// Warn developers when they write code incompatible with some build tools. /* Additional Checks */
"isolatedModules": true "noUnusedLocals": true,
}, "noUnusedParameters": true,
// Make sure we don't transpile any test files. "noImplicitReturns": true,
"exclude": [ "noFallthroughCasesInSwitch": true,
"**/__test_data__/*",
"**/__tests__/*", /* Module Resolution Options */
"**/__mocks__/*", "moduleResolution": "node",
]
/* This needs to be false so our types are possible to consume without setting this */
"esModuleInterop": false,
"resolveJsonModule": true
}
} }