-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
39 lines (39 loc) · 1.17 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
// https://angular.io/config/tsconfig.
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"lib": [
"es2018",
"dom"
],
"module": "es2020",
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"outDir": "./dist-client/out-tsc",
"sourceMap": false,
"strict": true,
"strictPropertyInitialization": false, // クラスプロパティの「初期化漏れ」を許容する (string 型のプロパティが undefined になるとエラーになるがコレを許容する)
"suppressImplicitAnyIndexErrors": true, // クラスプロパティにブラケット記法でアクセスできるようにする
"target": "es2017"
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
},
"files": [
"src/main.ts",
"src/polyfills.ts"
],
"include": [
"src/**/*.d.ts"
]
}