-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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: decorators do not work with abstract classes #6225
Comments
Hi @StragaSevera, this appears to be related to: I think we should close this and discuss there, if that's OK with you? |
Yes, I think this is related to that issue. However, there is a workaround in that issue - namely, babel/babel#8172 (comment) , but I cannot apply it to |
@StragaSevera, you can also create a fork of |
Sorry, let's keep this open and track the outcome of the issue. |
Can you try the latest release and see if this has improved? If not please open a new issue. |
Is this a bug report?
Yes.
Did you try recovering your dependencies?
Yes.
Which terms did you search for in User Guide?
"Typescript decorators abstract classes".
Environment
Steps to Reproduce
Basically, the problem lies in babel/babel#8172 :
Bar.ts
:tests/Bar.test.ts
:yarn run test
Expected Behavior
The jest test runs successfully.
Actual Behavior
Reproducible Demo
https://github.com/StragaSevera/test-app
The text was updated successfully, but these errors were encountered: