Y
Hacker News
new
|
ask
|
show
|
jobs
by
sapling-ginger
760 days ago
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.
1 comments
RussianCow
760 days ago
Correct. My comment was about programming languages in general and not specific to TypeScript. :)
link