Tighten a TypeScript codebase with strict config, precise types, and patterns that make illegal states unrepresentable.
## CONTEXT My TypeScript codebase passes the compiler but still ships type-related bugs because it leans on any, loose objects, and unchecked casts. I want to harden the type system so the compiler catches more mistakes and the types document the domain. I am willing to enable stricter settings incrementally in…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro