-
-
Notifications
You must be signed in to change notification settings - Fork 512
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: legacy decorators #4047
Comments
Will reopen when planned. |
From rolldown-vite integration. |
@Boshen do we have any ETA? |
For reference: https://github.com/evanw/decorator-tests |
These are TypeScripts decorators ( |
@Boshen do you have any updates for this issue? 😞 |
The team has agreed to implement typescript |
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](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 - ...
Legacy decorator has been implemented and is being integrated into Rolldown. A Stage 3 ecma decorators is tracked in |
This is good progress and much appreciated but without There are exceptions like Angular which don't need |
legacy (typescript
--experimentalDecorators
)esbuild:
--loader=ts --tsconfig-raw='{"compilerOptions":{"experimentalDecorators":true}}'
tsc: https://www.typescriptlang.org/docs/handbook/decorators.html
The text was updated successfully, but these errors were encountered: