vscode-styled-components
vscode-styled-components copied to clipboard
[Bug] Highlight error
Compiled correctly but highlighted errors
background-image: url(${(props) =>
props.$color === "green" ? StepBgGreenImage : StepBgPurpleImage});
The error says
) expectedts-styled-plugin(9999)
Code formatting uses prettier, so it is formatted in 2 lines. No errors occur when code is on a single line.