3 ms·
> And runtime checking is ... suboptimal. Especially on the frontend, where your `throw new Error("Bad input type")` might brick the entire app if uncaught. I'
by dbalatero 3y ago
> And runtime checking is ... suboptimal.
Especially on the frontend, where your `throw new Error("Bad input type")` might brick the entire app if uncaught. I'd much rather hear an earful from TypeScript before a bundle is ever produced.