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
If i use UseTransitionProps to create an useTransition config incl. ref than TS is complaining that ref is not part of UseTransitionProps. I take a look at the types an ref is realy not part of UseTransitionProps. If i put the config directly in the useTransition() hook than no error is appearing because of the UnknownProps extendtion direct in function declaration.
Uh oh!
There was an error while loading. Please reload this page.
🐛 Bug Report
If i use UseTransitionProps to create an useTransition config incl. ref than TS is complaining that ref is not part of UseTransitionProps. I take a look at the types an ref is realy not part of UseTransitionProps. If i put the config directly in the useTransition() hook than no error is appearing because of the UnknownProps extendtion direct in function declaration.
To Reproduce
Use UseTransitionProps type and set ref.
Expected behavior
ref should be part of UseTransitionProps type.
Link to repro (highly encouraged)
CodeSandbox demo
Environment
react-spring
v9.0.0-beta.34react
v16.8.4typescript
v3.3.3The text was updated successfully, but these errors were encountered: