Comment

Comment by littlecranky67

also bear in mind that support for discriminated unions is what made typescript work nicely with redux actions - that is be able to strongly type actions/reducers/dispatch functions.

One thing I love about typescript is they care more for the actual JS/library ecosystem as-is, and don't design a language for an ecosystem that should-be.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton