Remix.run Logo
lbltavares 5 days ago

Yes, it can't parse enums, for example.

beart 2 days ago | parent | next [-]

I think enums are on their way out, and erasable syntax is one of the main reasons.

https://dev.to/ivanzm123/dont-use-enums-in-typescript-they-a...

They added an optional flag to disable enums (and a few other features) in 5.8

https://www.totaltypescript.com/erasable-syntax-only

dust42 5 days ago | parent | prev [-]

It is available behind an experimental flag: --experimental-transform-types