this post was submitted on 04 Jul 2023
17 points (100.0% liked)

TypeScript

79 readers
1 users here now

founded 1 year ago
MODERATORS
top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago

Those are some very interesting features. Love the defer stuff. One of the few golang features I actually like.

[–] [email protected] 2 points 1 year ago (1 children)

Is TypeScript being a bit early here or is the TC39 proposal further along than I thought? Last I checked it was in stage 3 and still had a little ways to go..

[–] [email protected] 2 points 1 year ago (1 children)

The using? The GitHub for it says stage 3.
It might be that Typescript thinks the API is stable enough to provide the polyfill for it until it gets properly implemented.
Certainly, this is a beta branch. So perhaps Typescript knows it's about to go stage 4, and they will bump it to 5.2 (RC?) when that happens.

I guess to help stabilise the API, people need to be able to try it and test it.
So, typescript releasing a beta for it means people can play around with it.
After all, it is a beta release. So, still subject to change.

[–] [email protected] 2 points 1 year ago

I thought TypeScript wanted to avoid putting in syntax before it's ready in JS, but you might be right that they just know more than we do about when it's going to stage 4.