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
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [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.