-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtsconfig.json
More file actions
59 lines (55 loc) · 2.31 KB
/
tsconfig.json
File metadata and controls
59 lines (55 loc) · 2.31 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
{
/* =============================================================================
* tsconfig.json — TypeScript configuration for the Angular application
* - Uses modern ESM output and esbuild-compatible module resolution.
* - Comments use /* ... *\/ JSONC style.
* ============================================================================= */
"$schema": "./node_modules/@angular-devkit/build-angular/tsconfig.schema.json",
"compilerOptions": {
/* ========= PATHS & OUTPUT ========= */
"baseUrl": "./",
"outDir": "./dist/out-tsc",
/* ========= MODULE & TARGET ========= */
"module": "esnext",
/* ESM output for modern bundlers */
"moduleResolution": "bundler",
/* Resolution mode aligned with esbuild/Angular 17+ */
"target": "ES2022",
/* Baseline supported by Angular */
/* ========= LANGUAGE / DECORATORS ========= */
"experimentalDecorators": true,
/* Required for Angular decorators */
"useDefineForClassFields": false,
/* Kept false until migration to TS 5 semantics */
"importHelpers": true,
/* Emits helper calls via tslib */
"resolveJsonModule": true,
/* Enables importing .json modules */
/* ========= INTEROP ========= */
"esModuleInterop": true,
/* Enables default-import interop with CJS */
/* ========= DIAGNOSTICS & SAFETY ========= */
"sourceMap": true,
/* Enabled for development; disabled in prod builds */
"declaration": false,
/* No .d.ts emission for the app */
"skipLibCheck": true,
/* Skips type checking of .d.ts for faster builds */
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"noImplicitAny": false,
/* Relaxed for now; can be tightened later */
"noPropertyAccessFromIndexSignature": true,
"noUnusedLocals": true,
/* May be noisy in large refactors */
"noUnusedParameters": true
},
"angularCompilerOptions": {
"strictTemplates": false,
/* Can be enabled after template cleanup */
"strictInjectionParameters": true,
"strictInputAccessModifiers": true
}
}