logoalt Hacker News

thedelanyoyesterday at 9:23 PM2 repliesview on HN

> I’m just hoping one day browsers will accept TS the same way.

Wouldn't that be a direct kill of JS?


Replies

afavouryesterday at 10:29 PM

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.

quotemstryesterday at 10:35 PM

Did C++ kill C?

show 1 reply