logoalt Hacker News

cyberaxyesterday at 8:36 PM1 replyview on HN

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


Replies

Waterluvianyesterday at 8:40 PM

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.

show 1 reply