-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtsconfig.json
47 lines (43 loc) · 1.37 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
47
{
"compileOnSave": false,
"compilerOptions": {
"module": "es2020",
"target": "es2018",
"lib": ["es2017", "dom"],
"moduleResolution": "node",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
// enable, once we use typescript 4.4.4
// "exactOptionalPropertyTypes": true,
// "noImplicitOverride": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
// checked by eslint
//"noUnusedLocals": true
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedParameters": true,
"strict": true,
// covered by eslint unused-imports/no-unused-vars, unused-imports/no-unused-imports but does not interfer with
// development, i.e. one can leave unused imports and clean it up by running npm run lint
"noUnusedLocals": false,
"esModuleInterop": true,
"importHelpers": true,
"experimentalDecorators": true,
"typeRoots": ["node_modules/@types"],
"types": ["hammerjs"],
"allowJs": true,
"checkJs": true,
"resolveJsonModule": true
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
}
}