Skip to content

Commit c2f812f

Browse files
Fixes Issue with flatlist
1 parent a9c5e9d commit c2f812f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/Libraries/Lists/FlatList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ class FlatList<ItemT = any> extends React.PureComponent<FlatListProps<ItemT>> {
669669
: {renderItem: renderProp};
670670
};
671671

672-
_getStickyHeaderIndices: Array<number> | void =
672+
_getStickyHeaderIndices: ?$ReadOnlyArray<number> =
673673
this._getItemCount(this.props.data) > 0
674674
? this.props.stickyHeaderIndices
675675
: [];

0 commit comments

Comments
 (0)