Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transformer: ecma decorators #9170

Open
Boshen opened this issue Feb 17, 2025 · 0 comments
Open

transformer: ecma decorators #9170

Boshen opened this issue Feb 17, 2025 · 0 comments
Labels
C-enhancement Category - New feature or request

Comments

@Boshen
Copy link
Member

Boshen commented Feb 17, 2025

https://github.com/tc39/proposal-decorators?tab=readme-ov-file#how-should-i-use-decorators-in-transpilers-today

esbuild: evanw/esbuild#3754
babel: https://babel.dev/docs/babel-plugin-proposal-decorators#versiont
tsc: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#decorators

The conformance suite we should follow is tc39/test262#4103, it should be ready in a month or two, we should help out and provide feedback to it.

I talked to pzuraq (decorators champion), we agree to defer implementing legacy if possible, but actual real world usage require us to implement legacy decorators first (for rolldown).

@Boshen Boshen added the C-enhancement Category - New feature or request label Feb 17, 2025
@Boshen Boshen added this to the Transformer Milestone 3 milestone Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category - New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant