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
The 2 questions related to that don't really help me here.
The module itself works, the button applies the styles, but i get a Typescript error Cannot find module "xxx.module.scss" or its corresponding type declarations.
The structure is:
xxx
- Xxx.tsx
- Xxx.module.scss
I do import styles from './Xxx.module.scss'
If i copy this inside f.e. apps/docs/components/xxx
It works fine without any typescript errors.
I didn't find any suitable answer for this.
PS: I followed the steps from the similar question, but it did not fix the typescript error in packages/ui
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The 2 questions related to that don't really help me here.
The module itself works, the button applies the styles, but i get a Typescript error
Cannot find module "xxx.module.scss" or its corresponding type declarations.
The structure is:
xxx
- Xxx.tsx
- Xxx.module.scss
I do
import styles from './Xxx.module.scss'
If i copy this inside f.e. apps/docs/components/xxx
It works fine without any typescript errors.
I didn't find any suitable answer for this.
PS: I followed the steps from the similar question, but it did not fix the typescript error in packages/ui
Beta Was this translation helpful? Give feedback.
All reactions