Comment

Comment by quickthrower2

With the ‘unknown’ type available is there a good case for ‘any’ anymore?

I really like the ‘unknown’ type. In catch statements for example the error is unknown but you can do dynamic checks to see what it is, then typescript lets you treat it that way.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton