diff --git a/Libraries/Lists/FlatList.js b/Libraries/Lists/FlatList.js index 3ca5a75f85c..f24aaf5fbdf 100644 --- a/Libraries/Lists/FlatList.js +++ b/Libraries/Lists/FlatList.js @@ -62,7 +62,7 @@ type RequiredProps = { * For simplicity, data is just a plain array. If you want to use something else, like an * immutable list, use the underlying `VirtualizedList` directly. */ - data: ?Array, + data: ?$ReadOnlyArray, }; type OptionalProps = { /**