-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript error when using Augmented CSS in React v18 #285
Comments
Having the same issue here, did you manage to fix this? Any update on this? |
No any updates/response, still having this issue. Currently using this workaround:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In a Next.js project, we have the following minimal component:
We have augmented CSS variable type
react.d.ts
:Error
Index signature for type '--${string}' is missing in type 'Properties<string | number, string & {}>'.ts(2322)
The issue may have arisen due to a mismatch in React versions, as the
react-slider
seems to have used React v17.0.2 as founded in the .lock file, while this issue was not present in React v17?Environenment
The text was updated successfully, but these errors were encountered: