-
-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathtsconfig.json
More file actions
24 lines (24 loc) · 768 Bytes
/
tsconfig.json
File metadata and controls
24 lines (24 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"compilerOptions": {
"module": "commonjs",
"target": "es2018",
"outDir": "out",
"lib": [ "ES2018" ],
"sourceMap": true,
//"rootDir": "./",
"strict": true, /* enable all strict type-checking options */
"types": ["node"], /* 引入 Node.js 类型定义 */
"moduleResolution": "node", /* 明确模块解析策略 */
"useUnknownInCatchVariables": false,
/* Additional Checks */
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */
},
"exclude": [
"./test",
"src/html",
"node_modules",
".vscode-test"
]
}