Comment

Comment by a_wild_dandan

You're blaming TypeScript for self-inflicted wounds.

Don't blame the type system that you banished (with `as unknown as T`) for not catching you; or for some React library having bugs, e.g. an incorrect interface; for not defining types and Pikachu-facing when types are `undefined`. These traumas are fixed by using TypeScript, not ignoring it.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton