Skip to content

[0.80] Update types of Animated FlatList and SectionList #970

Description

@j-piasecki

Target Branch

0.80

Link to commit or PR to be picked

react/react-native#51602

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions