6 ms·
Yes, it can't parse enums, for example.
by lbltavares 1y ago
Yes, it can't parse enums, for example.
- dust42 1y agoIt is available behind an experimental flag: --experimental-transform-types
- beart 1y agoI 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-are-very-dangerous-57bh 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 https://www.totaltypescript.com/erasable-syntax-only