Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sapling-ginger
· 2y ago · 0 comments
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.
Comments
[–]
RussianCow
2y ago
Correct. My comment was about programming languages in general and not specific to TypeScript. :)