Skip to content

Commit 9c05817

Browse files
committed
feat: use base tsconfig
1 parent fb41667 commit 9c05817

3 files changed

Lines changed: 49 additions & 44 deletions

File tree

projects/app/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"esModuleInterop": true,
77
"moduleResolution": "bundler",
88
"outDir": "./dist/tsc",
9+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
910
"paths": {
1011
"@/app/*": ["./src/*"],
1112
"@/plugins/*": ["./plugins/*"]

tsconfig.base.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"$schema": "https://json.schemastore.org/tsconfig",
3+
"compileOnSave": false,
4+
"compilerOptions": {
5+
"strict": true,
6+
"noImplicitAny": true,
7+
"noImplicitReturns": true,
8+
"noImplicitThis": true,
9+
"noImplicitOverride": true,
10+
"noFallthroughCasesInSwitch": true,
11+
"noUncheckedSideEffectImports": true,
12+
"forceConsistentCasingInFileNames": true,
13+
"useDefineForClassFields": false,
14+
"allowSyntheticDefaultImports": true,
15+
"strictPropertyInitialization": true,
16+
"experimentalDecorators": true,
17+
"strictNullChecks": true,
18+
"isolatedModules": true,
19+
"sourceMap": false,
20+
"inlineSourceMap": false,
21+
"allowJs": true,
22+
"composite": false,
23+
"declaration": true,
24+
"declarationMap": true,
25+
"incremental": true,
26+
"resolveJsonModule": true,
27+
"noEmitOnError": true,
28+
"skipLibCheck": true,
29+
"importHelpers": true,
30+
"moduleResolution": "Bundler",
31+
"module": "ES2022",
32+
"target": "ES2022",
33+
"lib": ["ES2022"]
34+
},
35+
"angularCompilerOptions": {
36+
"disableTypeScriptVersionCheck": true,
37+
"enableResourceInlining": false,
38+
"enableI18nLegacyMessageIdFormat": false,
39+
"fullTemplateTypeCheck": true,
40+
"strictInjectionParameters": true,
41+
"strictInputAccessModifiers": true,
42+
"strictTemplates": true,
43+
"extendedDiagnostics": {
44+
"defaultCategory": "error"
45+
}
46+
}
47+
}

tsconfig.json

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,6 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
3-
"compileOnSave": false,
4-
"compilerOptions": {
5-
"strict": true,
6-
"noImplicitAny": true,
7-
"noImplicitReturns": true,
8-
"noImplicitThis": true,
9-
"noImplicitOverride": true,
10-
"noFallthroughCasesInSwitch": true,
11-
"noUncheckedSideEffectImports": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"useDefineForClassFields": false,
14-
"allowSyntheticDefaultImports": true,
15-
"strictPropertyInitialization": true,
16-
"experimentalDecorators": true,
17-
"strictNullChecks": true,
18-
"isolatedModules": true,
19-
"sourceMap": false,
20-
"inlineSourceMap": false,
21-
"allowJs": true,
22-
"composite": false,
23-
"declaration": true,
24-
"declarationMap": true,
25-
"incremental": true,
26-
"resolveJsonModule": true,
27-
"noEmitOnError": true,
28-
"skipLibCheck": true,
29-
"importHelpers": true,
30-
"moduleResolution": "Bundler",
31-
"module": "ES2022",
32-
"target": "ES2022",
33-
"lib": ["ES2022"]
34-
},
35-
"angularCompilerOptions": {
36-
"disableTypeScriptVersionCheck": true,
37-
"enableResourceInlining": false,
38-
"enableI18nLegacyMessageIdFormat": false,
39-
"fullTemplateTypeCheck": true,
40-
"strictInjectionParameters": true,
41-
"strictInputAccessModifiers": true,
42-
"strictTemplates": true,
43-
"extendedDiagnostics": {
44-
"defaultCategory": "error"
45-
}
46-
},
3+
"extends": "./tsconfig.base.json",
474
"files": [],
485
"include": []
496
}

0 commit comments

Comments
 (0)