PHPStorm React Twin Macro problem

I use react twin macro package with typescript (react) and got the following errors. How can I disable this error showing? I use 2023.2 version.

0

the Styled Components and Styled JSX plugin plugin auto-injects CSS language in tagged templates; as the tw`` syntax is not a valid CSS the syntax errors occur

As a workaround you can disable the Styled Components and Styled JSX plugin plugin in Settings | Plugins

0

请先登录再写评论。