Upgrade Flow in fbsource (#59212)

Summary:
Pull Request resolved: https://github.com/react/react-native/pull/59212

Upgrade Flow.

Changelog: [Internal]

___

landed-with-radar-review

Differential Revision: D126215247

fbshipit-source-id: ab17a6108eb2e815b69e7295b724479914bff652
This commit is contained in:
Sam Zhou authored and meta-codesync[bot] committed 2026-10-19 20:56:52 -07:00
1 parent f1f516e8cb
commit 2fd8fd664c
6 files changed
+7

No files matched your search

@@ -110,6 +110,7 @@ export default class DecayAnimation extends Animation {
this._lastValue = value;
if (this.__active) {
// $FlowFixMe[method-unbinding] added when improving typing for this parameters
// $FlowFixMe[invalid-tuple-arity]
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
}
}
@@ -361,6 +361,7 @@ export default class SpringAnimation extends Animation {
return;
}
// $FlowFixMe[method-unbinding] added when improving typing for this parameters
// $FlowFixMe[invalid-tuple-arity]
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
}
@@ -171,6 +171,7 @@ export default class TimingAnimation extends Animation {
);
if (this.__active) {
// $FlowFixMe[method-unbinding] added when improving typing for this parameters
// $FlowFixMe[invalid-tuple-arity]
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
}
}
@@ -33,6 +33,7 @@ class RootViewSizeFlexibilityExampleApp extends React.Component<
return (
// $FlowFixMe[method-unbinding] added when improving typing for this parameters
// $FlowFixMe[invalid-tuple-arity]
<TouchableHighlight onPress={this._onPressButton.bind(this)}>
<View style={viewStyle}>
<View style={styles.center}>
@@ -505,6 +505,7 @@ class SelectionExample extends React.Component<
</RNTesterText>
{/* $FlowFixMe[method-unbinding] added when improving typing for this
* parameters */}
{/* $FlowFixMe[invalid-tuple-arity] */}
<RNTesterText onPress={this.placeAtRandom.bind(this)}>
Place at Random
</RNTesterText>
@@ -516,6 +517,7 @@ class SelectionExample extends React.Component<
</RNTesterText>
{/* $FlowFixMe[method-unbinding] added when improving typing for this
* parameters */}
{/* $FlowFixMe[invalid-tuple-arity] */}
<RNTesterText onPress={this.selectRandom.bind(this)}>
Select Random
</RNTesterText>
@@ -71,6 +71,7 @@ class XHRExampleOnTimeOut extends React.Component<any, any> {
<TouchableHighlight
style={styles.wrapper}
// $FlowFixMe[method-unbinding] added when improving typing for this parameters
// $FlowFixMe[invalid-tuple-arity]
onPress={this.loadTimeOutRequest.bind(this)}>
<View style={styles.button}>
<Text>Make Time Out Request</Text>