You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My editor (nvim) is complaining about the styles variable missing styles.tilesInfo though it is defined in the scss.
NOTE: in this TilesInfo.module.scss I do @import "src/styles/colors"; first line in this file
I have other places in my code when my scss does not need to @import "src/styles/colors"; and those files don't show any error.
NOTE: running npm run build would build the project fine
To Reproduce
use @import in one of your scss
Expected behavior
Desktop (please complete the following information):
Ubuntu 22.04.1 LTS
Additional context
I tried to have my editor using the local typescript-language-server but it didn't change anything
Describe the bug
I have a project setup with create-react-app template typescript and added scss support via this config:
My editor (nvim) is complaining about the
styles
variable missingstyles.tilesInfo
though it is defined in the scss.NOTE: in this
TilesInfo.module.scss
I do@import "src/styles/colors";
first line in this fileI have other places in my code when my scss does not need to
@import "src/styles/colors";
and those files don't show any error.NOTE: running
npm run build
would build the project fineTo Reproduce
use
@import
in one of your scssExpected behavior
Desktop (please complete the following information):
Ubuntu 22.04.1 LTS
Additional context
I tried to have my editor using the local typescript-language-server but it didn't change anything
I use the last version of everything:
even though it says I dont need to deplace the type for module scss I still had to do:
and
The text was updated successfully, but these errors were encountered: