-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
43 lines (43 loc) · 1.23 KB
/
tsconfig.json
File metadata and controls
43 lines (43 loc) · 1.23 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
{
"compilerOptions": {
"composite": true,
// ESM Modules for node16+
"target": "ES2022",
"module": "Node16",
"moduleResolution": "Node16",
"moduleDetection": "force",
// 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.
"allowSyntheticDefaultImports": true,
// ESM doesn't yet support JSON modules.
"resolveJsonModule": false,
"lib": ["ES2022", "DOM"],
"pretty": true,
"newLine": "lf",
"jsx": "react",
"declaration": true,
"stripInternal": true,
"strict": true,
"noImplicitAny": false,
"noImplicitReturns": true,
"noImplicitOverride": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
// "noUncheckedIndexedAccess": false,
// "noPropertyAccessFromIndexSignature": true,
"noEmitOnError": true,
// "useDefineForClassFields": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"sourceMap": true,
"outDir": "./dist"
},
"include": ["src/"],
"exclude": [
"dist",
"node_modules"
],
"filesGlob": [
"./**/*.ts",
]
}