3 ms·
> This proposal only goes halfway and large swathes of syntax (like enums) will not be supported. "Large swathes" is really overstating it. The TS philosophy h
by Vinnl 5y ago
> This proposal only goes halfway and large swathes of syntax (like enums) will not be supported.
"Large swathes" is really overstating it. The TS philosophy has been to avoid runtime behaviour for quite a few years now, and while there are a few features that made it in back when they weren't so strict about that yet, they wouldn't have added them today and have worked to add alternatives that do not modify runtime behaviour (like literal string union types). So it goes as much "halfway" as all TS development has gone for the past few years.