Skip to content
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

fix: ComponentProps type #4634

Merged
merged 1 commit into from
Jan 17, 2025
Merged

fix: ComponentProps type #4634

merged 1 commit into from
Jan 17, 2025

Conversation

rschristian
Copy link
Member

Closes #4633

Looks like this was a mistake in #2461, React's types have always used {} here: v19 & v16.

The related issue isn't quite correct, this isn't a regression in 10.19.4; instead, prior to that release, we were missing types that meant @react-spring/web couldn't form a correct type. "skipLibCheck" hides this well of course.

@coveralls
Copy link

Coverage Status

coverage: 99.617%. remained the same
when pulling e0e806f on fix/component-props
into f68aebb on main.

@rschristian rschristian merged commit 28a937c into main Jan 17, 2025
7 checks passed
@rschristian rschristian deleted the fix/component-props branch January 17, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typing errors when using react-spring
3 participants