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
... Typescript throws an error because of mismatching types:
Type 'RefObject<HTMLSpanElement>' is not assignable to type 'RefObject<HTMLDivElement>'. Property 'align' is missing in type 'HTMLSpanElement' but required in type 'HTMLDivElement'.
Expected behavior 🤔
No Typescript error is shown. The user is able to pass props of type SliderElementProps to the SliderElement component.
On line 7, a type error will be visible (if the error isn't visible, try making a change to the file. Sometimes devbox doesn't show type errors unless you're editing)
The text was updated successfully, but these errors were encountered:
Duplicates
Latest version
Current behavior 😯
When you pass props with type
SliderElementProps
toSliderElement
(using the spread operator)...... Typescript throws an error because of mismatching types:
Expected behavior 🤔
No Typescript error is shown. The user is able to pass props of type
SliderElementProps
to theSliderElement
component.Steps to reproduce 🕹
Steps to reproduce:
App.tsx
The text was updated successfully, but these errors were encountered: