Closed cubeghost closed 1 year ago
👋 getting [ts-styled-plugin] property value expected when using a & and a pseudo selector. was also getting it earlier with ${OtherStyledComponent}:hover & {} but that error disappeared
[ts-styled-plugin] property value expected
${OtherStyledComponent}:hover & {}
const Item = styled.li` counter-increment: ranking; padding: ${p => p.theme.spacing.full}; padding-left: 0; position: relative; &:not(:last-child) { border-bottom: 1px solid #000; } `;
Closing as this package has been deprecated in favor of the official styled-components/typescript-styled-plugin fork
After updating to that fork, follow up in the styled-components repo if this is still an issue
👋 getting
[ts-styled-plugin] property value expected
when using a & and a pseudo selector. was also getting it earlier with${OtherStyledComponent}:hover & {}
but that error disappeared