Skip to content

Conversation

@MatiPl01
Copy link
Member

Summary

This PR removes types that are deprecated for a long time. We might have done that before the stable v4 release, but I think that there's nothing wrong to remove them in the 4.1.0.

@MatiPl01 MatiPl01 self-assigned this Jul 25, 2025
@MatiPl01 MatiPl01 marked this pull request as ready for review July 25, 2025 16:41
@MatiPl01 MatiPl01 requested a review from tjzel July 25, 2025 16:42
@MatiPl01 MatiPl01 added this pull request to the merge queue Jul 25, 2025
Merged via the queue into main with commit 40c7352 Jul 25, 2025
11 checks passed
@MatiPl01 MatiPl01 deleted the @matipl01/remove-deprecated-types branch July 25, 2025 22:15
@LinusU
Copy link

LinusU commented Oct 10, 2025

This broke React Native Bottom Sheet, which uses AnimateProps 😅

e.g. https://github.com/gorhom/react-native-bottom-sheet/blob/d12f3f7da19e5152fb541c4cfd36340cf5274473/src/components/bottomSheetScrollable/types.d.ts#L59

Fix seems to be to use AnimatedProps instead (notice the extra d)

pr with fix: gorhom/react-native-bottom-sheet#2524

@MatiPl01
Copy link
Member Author

Hey @LinusU!

These props were deprecated for a long time so we decided to finally remove them. Authors of other libraries should adapt to the new types. Thank you for opening the PR to the @gorhom/bottom-sheet library with a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants