3 ms·
I wouldn’t hold your breath for TypeScript introducing any new supra-JS features. In the old days they did a little bit, but now those features (namely enums) a
by tkcranny 1y ago
I wouldn’t hold your breath for TypeScript introducing any new supra-JS features. In the old days they did a little bit, but now those features (namely enums) are considered harmful.
More specifically, with the (also ironically gummed up in tc39) type syntax [1], and importantly node introducing the --strip-types option [2], TS is only ever going to look more and more like standards compliant JS.
[1] https://tc39.es/proposal-type-annotations/ https://tc39.es/proposal-type-annotations/
[2] https://nodejs.org/en/blog/release/v22.6.0 https://nodejs.org/en/blog/release/v22.6.0