-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtsconfig.json
29 lines (29 loc) · 1008 Bytes
/
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
{
"compilerOptions": {
"allowJs": true,
"target": "ES2018",
"module": "CommonJS",
"lib": ["dom", "es2017"],
"moduleResolution": "node",
"sourceMap": true,
"downlevelIteration": true,
"strict": true,
"noImplicitAny": true, // should always assign value to params (recheck it)
"strictFunctionTypes": true,
"alwaysStrict": true,
"skipLibCheck": true,
"noUnusedLocals": true, // change later
"noUnusedParameters": false, // params should be used
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strictPropertyInitialization": false, // optional,
// "baseUrl": "./server", // import from common/.. i,e base utl is server
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"typeRoots": ["server/common/types", "./node_modules/@types"]
},
"include": ["server/**/*.ts"],
"exclude": ["node_modules", "client", "./utils"]
}