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

Typescript v5 support with stage 3 decorators #16511

Closed
sroussey opened this issue Jan 18, 2025 · 1 comment
Closed

Typescript v5 support with stage 3 decorators #16511

sroussey opened this issue Jan 18, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@sroussey
Copy link
Contributor

What is the problem this feature would solve?

Make Bun compatible with modern Typescript by supporting decorators.

Stage 3 decorators was approved about three years ago.

Microsoft released Typescript 5.0 about two years ago with decorator support enabled by default. The old experimentalDecorators flag now switches support from the default stage 3 design back to the previous stage 2 design. They are not compatible.

What is the feature you are proposing to solve the problem?

See https://2ality.com/2022/10/javascript-decorators.html

What alternatives have you considered?

Use the old.

@sroussey sroussey added the enhancement New feature or request label Jan 18, 2025
@exKAZUu
Copy link

exKAZUu commented Jan 19, 2025

c.f. #4122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants