Skip to content

Commit 3801758

Browse files
panagosg7facebook-github-bot
authored andcommitted
remove '$TEMPORARY$array' (facebook#46897)
Summary: Pull Request resolved: facebook#46897 Reviewed By: SamChou19815 Differential Revision: D64051902 fbshipit-source-id: 0cbcbb81f86f1383c7237b306cdbc839938c17b7
1 parent 768a1d8 commit 3801758

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = {
7575
);
7676
},
7777

78-
testBadRenderItemFunction(): $TEMPORARY$array<React.Node> {
78+
testBadRenderItemFunction(): $ReadOnlyArray<React.Node> {
7979
const data = [
8080
{
8181
title: 'foo',
@@ -105,7 +105,7 @@ module.exports = {
105105
];
106106
},
107107

108-
testOtherBadProps(): $TEMPORARY$array<React.Node> {
108+
testOtherBadProps(): $ReadOnlyArray<React.Node> {
109109
return [
110110
// $FlowExpectedError - bad numColumns type "lots"
111111
<FlatList renderItem={renderMyListItem} data={[]} numColumns="lots" />,

packages/react-native/Libraries/Lists/__flowtests__/SectionList-flowtest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = {
4444
return <SectionList renderItem={renderMyListItem} sections={sections} />;
4545
},
4646

47-
testBadRenderItemFunction(): $TEMPORARY$array<React.Node> {
47+
testBadRenderItemFunction(): $ReadOnlyArray<React.Node> {
4848
const sections = [
4949
{
5050
key: 'a',

0 commit comments

Comments
 (0)