News for hackers. Stuff that matters.
Re:A Proposal for Type Syntax in JavaScript by Vinnl on Thursday March 10, 2022 @04:14AM (#30624877)
> 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.

There are no comments on this comment yet.