tc39/proposal-decorators

Implementation Status

jkrems opened this issue ยท 9 comments

I checked some of the engine/tool issue trackers and couldn't find any clear signal on what the status of the proposal is when it comes to stage 3 implementations. What I found so far:

Does that reflect the current status?

I couldn't find a signal from Babel.

https://babeljs.io/blog/2022/02/02/7.17.0

@nicolo-ribaudo Sorry, should've been more clear. I was thinking specifically about the proposal as it's now in stage 3. E.g. isPrivate is now private in the descriptor but (afaict) babel doesn't support this revision yet and I couldn't find an issue to implement it (see current test that still uses isPrivate).

Have the isPrivate->private and isStatic->static changes already been presented to the committee for consensus?

Have the isPrivate->private and isStatic->static changes already been presented to the committee for consensus?

@nicolo-ribaudo #467 was merged, resolving.

For the stumblers, stage 3 decorators landed in Babel on Sep 5th: https://babeljs.io/blog/2022/09/05/7.19.0 ๐ŸŽ‰ Here's a small guide on how to use them in TypeScript: microsoft/TypeScript#48885 (comment)

It appears the new decorators won't land on TS before 5.0

Thanks, updated the overview item to "after 4.9".