Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kuramitropolis
· 4y ago · 0 comments
TS is emphatically
not
a superset of JS. It rejects perfectly valid JS leaving you no recourse other than design your whole architecture around what TypeScript allows. Which is what Microsoft wants of course.
Comments
[–]
uup
4y ago
That’s not true. You can import JS directly into TS or use ts-ignore annotations.