← Back to context

Comment by cyberax

2 hours ago

You still need a compiler for TSX, though. There's also a tiny bit of non-erasable Typescript (enums).

There’s a mode to pretend those features don’t exist and not allow them. Meaning it gets far simpler to just type elide rather than any actual compilation effort. I think this idea is getting more popular and it would be kinda nice if TS committed to not adding any more features like that.

  • TS has committed to not adding any more features like that. Features only get added when they reach a certain threshold on the TC39 standardisation track.