SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Update types of Animated FlatList and SectionList (#51602)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/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
J
Jakub Piasecki committed
9be5ac101051dd8121a48af1a29a60b7ba0b753e
Parent: 6c05300
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 5/27/2025, 6:55:12 AM