-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix(es/resolver): Handle TsInterfaceDecl
and UsingDecl
correctly
#8403
Conversation
|
This should fix the issue, but I'm not sure how to properly add tests for this. |
First of all, thank you for the contribution! For testing, you can add a file named Note that you may need to |
Also, can you sign the CLA? |
Sure, will sign the CLA. Just noticed that this fix doesn't work if typescript is |
I requested review from other team members because I'm not sure about the changes |
This looks fine. What concerns you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
swc-bump:
- swc_ecma_transforms_base
} | ||
|
||
let mark = self.current.mark; | ||
|
||
self.current |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removal of this logic seems dangerous to me at that time, but now I'm not sure why I feel it dangerous.
TsInterfaceDecl
and UsingDecl
correctly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated review comment generated by auto-rebase script
Related issue: