Open ahn0min opened 12 months ago
Describe the bug (including copyable syntax)
I'm working on a project using typescript and emotion + Next.js. If you write the code as shown in the screenshot, the error at-rule or selector expected - ts-styled-plugin(9999) will occur.
at-rule or selector expected - ts-styled-plugin(9999)
However, the UI works fine as I want.
Screenshot
To Reproduce
import styled from '@emotion/styled'; const Item = styled.div` display: flex; justify-content: space-between; align-items: center; >div: first-child { flex: 1; margin-right: 10px; } `;
Expected behavior
Build environment (please complete the following information):
Extensions You can get this by running $ code --list-extensions in the command line
$ code --list-extensions
Additional context Add any other context about the problem here.
The error was avoided by downgrading to v1.7.8 => v1.7.5
Describe the bug (including copyable syntax)
I'm working on a project using typescript and emotion + Next.js. If you write the code as shown in the screenshot, the error
at-rule or selector expected - ts-styled-plugin(9999)
will occur.However, the UI works fine as I want.
Screenshot
![image](https://github.com/styled-components/vscode-styled-components/assets/89904226/759007f8-45b5-4ca9-a8bc-fd807c15504b)
To Reproduce
Expected behavior
Build environment (please complete the following information):
Extensions
You can get this by running
$ code --list-extensions
in the command lineAdditional context
Add any other context about the problem here.