You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some success with this pattern; it could use a review / explanation from someone more familiar with meaning of Instance within the styled-components typedef as I don't have a concrete intuition for why it appears to type check.
Do you want to request a feature or report a bug?
Bug in
styled-components
v5 flow types.What is the current behavior?
Using any styled component as the Instance type of another styled component produces an error. e.g. the following code:
results in this error:
Local Environment Information
Running on flow 0.123.0 and latest flow-typed defs for styled-components v5
The text was updated successfully, but these errors were encountered: