-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.base.json
39 lines (34 loc) · 1.03 KB
/
tsconfig.base.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
{
"compilerOptions": {
/* Basic Options */
"incremental": true,
"declaration": true,
"allowJs": true,
"noEmit": true,
"module": "esnext",
"target": "es2020",
"moduleResolution": "node",
/* Strict Type-Checking Options */
// "strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": false,
"noImplicitThis": true,
"alwaysStrict": true,
"resolveJsonModule": true,
/* Experimental Options */
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"allowSyntheticDefaultImports": true,
/* Module Resolution Options */
"baseUrl": ".", // This must be specified if "paths" is.
"paths": {
"*": ["packages/*", "apps/*", "demos/*"],
"@isnolan/nestjs-nacos": ["./packages/nacos"],
"@isnolan/nestjs-payment": ["./packages/payment"],
"@isnolan/nestjs-auth": ["./packages/auth"],
},
/* Additional Options */
"lib": ["esnext", "dom"] // 添加这一行
}
}