Evan Jacobs
Evan Jacobs
Please try 5.2! The behavior is fixed.
Probably a multiple copy of the library situation if I had to guess.
this should help clear it up https://github.com/styled-components/styled-components-website/pull/743
> Hey @probablyup , I wonder where is the TypeScript typing? I installed the alpha but didn't find it in the package, though it's mentioned that typing is included in...
@binhpv should be fixed here, thanks: https://github.com/styled-components/styled-components/releases/tag/v6.0.0-alpha.1
Oh weird, I thought it autodetected those...
Just published 6.0.0-alpha.2 with the added "types" fields thank you!
Updated OP with a code sandbox
Thank you! Will add this to my list along with looking into the React native issues
Oh right, I guess for native it would be declare module 'styled-components/native' since it's a different import