Comment by afavour
3 hours ago
TS is JS just with stuff on top so it can’t really ever kill JS. The way Node does it is to just ignore the type notations in a TS file, making it valid JS. Does mean you can’t use things like enums but worth the price.
No comments yet
Contribute on Hacker News ↗