Closed mrmartineau closed 5 years ago
Thanks for the contribution.
v4 doesn't export StyledComponentClass
. How do you have this working?
Looks like that StyledComponentClass
was just renamed to StyledComponent
in https://github.com/DefinitelyTyped/DefinitelyTyped/commit/5c49d4ddc6f5bd06c5cf04d911398f3db05ead54
Edit: Why is it actually needed to re-export that type? It's not used in the actual code.
This PR should probably be reverted since styled-components 4+ can do this natively. @jacob-ebey what do you think?
@mrmartineau, it's already published to NPM and I don't want to have to deal with that cluster of a versioning system.
@jacob-ebey I could submit a new PR with the relevant changes?
This change should stop the warnings that occur when installing this package, when using styled-components v4 or above. This addresses issue #15