Comment

Comment by sapling-ginger

All valid javascript programs are valid typescript programs, so typescript necessarily must have structural type, it cannot have nominal type without breaking compatibility with javascript, which is a hard requirement.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton