CSS/SCSS/SASS modules class type safety with TS when importing to .tsx files #1983
TobiasKullblikk
started this conversation in
Ideas
Replies: 1 comment
-
This is unrelated to SolidJS, and I believe the solution for this already exists. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given the example below, it would be really nice with type safety when importing CSS modules to your .tsx files. So if I rename a CSS class, the corresponding variable will be updated in all files where it is used. Errors if using a non-existent class as well.
Maybe this is better suited as a VS Code/extension feature request?
Beta Was this translation helpful? Give feedback.
All reactions