-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Nesting styled components with styled() and adding prop types does not work correctly #4174
Comments
Maybe the same underlying issue:
|
i am getting same error with 6.0.8 . with 6.0.7 types are working |
Seeing the same as well! |
i think this is related to |
6.0.8 is broken with types... USE 6.0.7 |
i think this got broken on this commit |
i created this PR |
try 6.1.0 |
Same issue in 6.1.0: https://codesandbox.io/s/styled-components-base-forked-j8f2nt?file=/index.tsx |
I still got the same issue in 6.1.0 too |
I've added failing tests to help fix this in #4219 |
@fabb my issues have been fixed with the latest version 6.1.6, can you please check on your end and perhaps close this issue? 🙏 |
yes it's fixed, thanks! |
Environment
System:
Binaries:
npmPackages:
Reproduction
https://codesandbox.io/s/styled-components-base-forked-j8f2nt?file=/index.tsx
Steps to reproduce
Expected Behavior
Should compile.
Actual Behavior
Component5 does not compile,
prop2
cannot be found.The text was updated successfully, but these errors were encountered: