← Back to context

Comment by thedelanyo

2 hours ago

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

Wouldn't that be a direct kill of JS?

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.