| 1 |
{ |
| 2 |
"compilerOptions": { |
| 3 |
// Disabled because of https://github.com/Microsoft/TypeScript/issues/29172 |
| 4 |
// "outDir": "dist", |
| 5 |
|
| 6 |
"module": "ES2020", |
| 7 |
"target": "ES2019", // Node.js 12 |
| 8 |
"lib": [ |
| 9 |
"ES2019", |
| 10 |
"ES2020.String", |
| 11 |
"DOM" |
| 12 |
], |
| 13 |
"moduleResolution": "node", |
| 14 |
"allowSyntheticDefaultImports": true, // To provide backwards compatibility, Node.js allows you to import most CommonJS packages with a default import. This flag tells TypeScript that it's okay to use import on CommonJS modules. |
| 15 |
"resolveJsonModule": false, // ESM doesn't yet support JSON modules. |
| 16 |
"jsx": "react", |
| 17 |
"declaration": true, |
| 18 |
"pretty": true, |
| 19 |
"newLine": "lf", |
| 20 |
"stripInternal": true, |
| 21 |
"strict": true, |
| 22 |
"noImplicitReturns": true, |
| 23 |
"noUnusedLocals": true, |
| 24 |
"noUnusedParameters": true, |
| 25 |
"noFallthroughCasesInSwitch": true, |
| 26 |
"noUncheckedIndexedAccess": true, |
| 27 |
"noPropertyAccessFromIndexSignature": true, |
| 28 |
"noEmitOnError": true, |
| 29 |
"useDefineForClassFields": true, |
| 30 |
"forceConsistentCasingInFileNames": true, |
| 31 |
"skipLibCheck": true |
| 32 |
} |
| 33 |
} |