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

tsx does not execute decorator initializers for optional properties with target es2021 in tsconfig.json #597

Open
4 of 6 tasks
Gerrit0 opened this issue Jun 23, 2024 · 3 comments
Labels
bug Something isn't working pending triage

Comments

@Gerrit0
Copy link
Contributor

Gerrit0 commented Jun 23, 2024

Acknowledgements

  • I read the documentation and searched existing issues to avoid duplicates
  • I am reporting a confirmed bug (not seek debugging help)
  • I understand this is a collaborative project and relies on my contributions
  • I read and understood the Contribution guide

Minimal reproduction URL

https://github.com/Gerrit0/repros/tree/tsx-broken-decorators

Problem & expected behavior (under 200 words)

No response

Bugs are expected to be fixed by those affected by it

  • I'm interested in working on this issue

Compensating engineering work will speed up resolution and support the project

  • I'm willing to offer $10 for financial support
@Gerrit0 Gerrit0 added bug Something isn't working pending triage labels Jun 23, 2024
@Gerrit0
Copy link
Contributor Author

Gerrit0 commented Jun 23, 2024

I should also mention that the contribution guide link is broken in the issue template

@privatenumber
Copy link
Owner

I don't use decorators so I don't know much about it. But the decorators transformation is handled by esbuild which has put out thorough release notes on it in the past few releases: https://github.com/evanw/esbuild/releases

I will look into this later and if I do confirm that it's more than configuration issue, it will likely be relayed to the esbuild repo.

@guocailee

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage
Projects
None yet
Development

No branches or pull requests

3 participants