-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Nested generics in TSX script fail to compile #7580
Comments
Closing as duplicate |
My bad. I didn't read it carefully. Sorry for the mistake. |
All good, thanks for re-evaluating! |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
SWC errors when using nested generics in a
.tsx
file in a specific configuration.SWC Playground
Typescript Playground
The code that fails:
SWC succeeds when the nested generics are externalised (playground)
I have tried different variations to see where the problem is but they seem to compile as expected
Settings
Expected behavior
To strip the types
Additional Info
This started happening with version 1.3.59 but was passing prior to that
playground 1.3.58
playground 1.3.59
Version
1.3.66
The text was updated successfully, but these errors were encountered: