Skip to content

Commit f480836

Browse files
authored
Upgrade Flow in fbsource
Differential Revision: D130161751 Pull Request resolved: #59829
1 parent 3aed172 commit f480836

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/rn-tester/js/examples/Performance/performanceComparisonExamples/EffectInRenderExample.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ function ItemFetcherBadExample(props: {
4040
// $FlowFixMe[incompatible-type]
4141
fetchMoreItems(count).then((items: ItemDataType[]) => {
4242
onFetched(items);
43+
// $FlowFixMe[incompatible-type]
4344
}, console.error);
4445
}
4546

@@ -62,6 +63,7 @@ function ItemFetcherGoodExample(props: {
6263
// $FlowFixMe[incompatible-type]
6364
fetchMoreItems(count).then((items: ItemDataType[]) => {
6465
onFetched(items);
66+
// $FlowFixMe[incompatible-type]
6567
}, console.error);
6668
}, [onFetched, count]);
6769
}

0 commit comments

Comments
 (0)