-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
46 lines (46 loc) · 1.34 KB
/
tsconfig.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"compilerOptions": {
"lib": ["es5", "es6", "dom"],
"target": "es6",
"jsx": "react",
"module": "commonjs",
"moduleResolution": "node",
// to be checked
// If there is no esModuleInterop, it cannot render in HTML.
// It also influences the code of server.ts, which is weird.
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": false,
"strict": true,
"isolatedModules": true,
"strictNullChecks": false,
"strictPropertyInitialization": false,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"outDir": "./dist",
"rootDir": "./src",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
},
// "compilerOptions": {
// "target": "es6",
// "module": "commonjs",
// "outDir": "./dist",
// "rootDir": "./src",
// "strict": true,
// "esModuleInterop": true,
// "skipLibCheck": true,
// "forceConsistentCasingInFileNames": true,
// "moduleResolution": "node",
// "resolveJsonModule": true,
// "experimentalDecorators": true,
// "emitDecoratorMetadata": true
// },
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"node_modules"
]
}