Dev Tools · 1d ago
TypeScript's empty check: why `tsc --noEmit` can pass on broken code
A developer pushed code that crashed production because `npx tsc --noEmit` checked an empty file list in a solution-style tsconfig. The actual type errors only appeared when running `tsc -p tsconfig.app.json`. Many React/TypeScript projects use this default layout, making the command a no-op.
Meridian48 take
This is a sharp reminder that default scaffolding can hide dangerous gaps in your CI pipeline — a lesson many teams learn the hard way.
typescripttype-checking