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
302f3a4e5a3ad04e2e7746e7f86aca3db2fc7afc
Parent: 5cc63aa
Committed by React Native Bot <bot@reactnative.dev> on 6/2/2025, 2:15:53 PM