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
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
Library
Version
React.js
18.2.0
Next.js
13.1.6
React-Slider
2.0.4
@types/react-slider
1.3.1
The text was updated successfully, but these errors were encountered:
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: