top | item 40374641

(no title)

sapling-ginger | 1 year 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.

discuss

order

RussianCow|1 year ago

Correct. My comment was about programming languages in general and not specific to TypeScript. :)