-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.local.json
31 lines (31 loc) · 1.09 KB
/
tsconfig.local.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"compilerOptions": {
// "module": "ES2020",
"module": "commonjs",
"target": "ES2019", // Node.js 12
"lib": ["ES2019", "ES2020.String", "DOM", "DOM.Iterable"],
"moduleResolution": "node",
"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.
"resolveJsonModule": false, // ESM doesn't yet support JSON modules.
"jsx": "react",
"declaration": true,
"pretty": true,
"newLine": "lf",
"stripInternal": true,
"strict": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"noUnusedLocals": false,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noPropertyAccessFromIndexSignature": true,
"noEmitOnError": true,
"useDefineForClassFields": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"esModuleInterop": true,
"outDir": "dist"
},
"include": ["src"]
}