Hacker News new | ask | show | jobs
by kuramitropolis 1347 days ago
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.
1 comments

That’s not true. You can import JS directly into TS or use ts-ignore annotations.