Skip to content

Commit

Permalink
remove '$TEMPORARY$array' (facebook#46897)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebook#46897

Reviewed By: SamChou19815

Differential Revision: D64051902

fbshipit-source-id: 0cbcbb81f86f1383c7237b306cdbc839938c17b7
  • Loading branch information
panagosg7 authored and facebook-github-bot committed Oct 8, 2024
1 parent 768a1d8 commit 3801758
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module.exports = {
);
},

testBadRenderItemFunction(): $TEMPORARY$array<React.Node> {
testBadRenderItemFunction(): $ReadOnlyArray<React.Node> {
const data = [
{
title: 'foo',
Expand Down Expand Up @@ -105,7 +105,7 @@ module.exports = {
];
},

testOtherBadProps(): $TEMPORARY$array<React.Node> {
testOtherBadProps(): $ReadOnlyArray<React.Node> {
return [
// $FlowExpectedError - bad numColumns type "lots"
<FlatList renderItem={renderMyListItem} data={[]} numColumns="lots" />,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = {
return <SectionList renderItem={renderMyListItem} sections={sections} />;
},

testBadRenderItemFunction(): $TEMPORARY$array<React.Node> {
testBadRenderItemFunction(): $ReadOnlyArray<React.Node> {
const sections = [
{
key: 'a',
Expand Down

0 comments on commit 3801758

Please sign in to comment.