Skip to content

Conversation

@j-piasecki
Copy link
Contributor

Summary:
Changelog: [GENERAL][FIXED] - Fixed the generated type definitions for Animated.FlatList and Animated.SectionList to correctly infer item types.

Current definitions for animated list components cast away their generic definitions, preventing the types to be inferred from usage. This diff addresses that.

Differential Revision: D75407762

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Software Mansion Partner: Software Mansion Partner labels May 26, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75407762

Summary:
Changelog: [GENERAL][FIXED] - Fixed the generated type definitions for `Animated.FlatList` and `Animated.SectionList` to correctly infer item types.

Current definitions for animated list components cast away their generic definitions, preventing the types to be inferred from usage. This diff addresses that.

Differential Revision: D75407762
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75407762

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 27, 2025
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9be5ac1.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @j-piasecki in 9be5ac1

When will my fix make it into a release? | How to file a pick request?

react-native-bot pushed a commit that referenced this pull request Jun 2, 2025
Summary:
Pull Request resolved: #51602

Changelog: [GENERAL][FIXED] - Fixed the generated type definitions for `Animated.FlatList` and `Animated.SectionList` to correctly infer item types.

Current definitions for animated list components cast away their generic definitions, preventing the types to be inferred from usage. This diff addresses that.

Reviewed By: huntie

Differential Revision: D75407762

fbshipit-source-id: c86f20298ded707971c05a78d025a63e82fe2a64
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @j-piasecki in 302f3a4

When will my fix make it into a release? | How to file a pick request?

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants