this post was submitted on 04 Jul 2023
2 points (100.0% liked)
TypeScript
823 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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..
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.
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.