-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
feat(transformer): support for transforming legacy decorator #8614
feat(transformer): support for transforming legacy decorator #8614
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Can you make space for ecma decorators? i.e. name current decorator as |
CodSpeed Performance ReportMerging #8614 will not alter performanceComparing Summary
|
386e3d6
to
115bbda
Compare
e2bb198
to
b73f8a8
Compare
97e7f9c
to
4ac37a4
Compare
b73f8a8
to
f0ed208
Compare
4ac37a4
to
318f4bc
Compare
f0ed208
to
d287a61
Compare
318f4bc
to
69ed340
Compare
9efa0dc
to
e37cb67
Compare
d287a61
to
233dc07
Compare
e37cb67
to
013ddd8
Compare
1104e05
to
ae9612b
Compare
ae9612b
to
99f6608
Compare
Merge activity
|
related: #4047 related: rolldown/rolldown#2296 This is also known as "Experimental Decorator" in `TypeScript` by [experimentalDecorators](https://www.typescriptlang.org/tsconfig/#experimentalDecorators) enabling. ### Testing - Six tests fail due to [emitDecoratorMetadata](https://www.typescriptlang.org/tsconfig/#emitDecoratorMetadata), as we haven't supported it yet. I found `esbuild` doesn't support it as well. - A few tests fail due to different unique binding generator - ...
85b6679
to
f2d28f3
Compare
…ript` (#8692) Part of #8614 All tests copy over from https://github.com/microsoft/TypeScript/blob/8da951cbb629b648753454872df4e1754982aef1/tests/cases/conformance/decorators/class, in addition, several multi-file tests were also adjusted. The output is generated by ```ts transpileModule( source, { compilerOptions: { target: 'esnext', experimentalDecorators: true, noEmitHelpers: true }, } ) ``` and replace all `__decorate` with `babelHelpers.decorate` and `__param` with `babelHelpers.decorateParam`
related: #4047 related: rolldown/rolldown#2296 This is also known as "Experimental Decorator" in `TypeScript` by [experimentalDecorators](https://www.typescriptlang.org/tsconfig/#experimentalDecorators) enabling. ### Testing - Six tests fail due to [emitDecoratorMetadata](https://www.typescriptlang.org/tsconfig/#emitDecoratorMetadata), as we haven't supported it yet. I found `esbuild` doesn't support it as well. - A few tests fail due to different unique binding generator - ...
related: #4047
related: rolldown/rolldown#2296
This is also known as "Experimental Decorator" in
TypeScript
by experimentalDecorators enabling.Testing
esbuild
doesn't support it as well.