TypeScript `@throws` JSDoc and Error Typing in 2026: Why Exceptions Are Still Untyped and What to Do About It
This article was written with the assistance of AI, under human supervision and review. Developers write try/catch blocks around TypeScript functions without knowing what exceptions those functions throw. The compiler stays silent when a function that throws NetworkError gets…