What Is tsconfig.json?
tsconfig.json explained, including what it does and how it matters in CI/CD.
tsconfig.json is the configuration file for the TypeScript compiler (tsc).
What it is
It sets compiler options (target, module, strict, paths), which files to include, and project references. tsc and editors read it to type-check and emit JavaScript.
Why it matters in CI/CD
CI runs tsc --noEmit as a type-check gate. Misconfigured paths or moduleResolution are common causes of CI-only type errors.
Key takeaways
- tsconfig.json configures tsc.
- Sets strictness, target, and paths.
- CI uses
tsc --noEmitas a gate.