Skip to content

Commit 24f8d4d

Browse files
gabelevifacebook-github-bot
authored andcommitted
Deploy v0.89
Reviewed By: jbrown215 Differential Revision: D13457087 fbshipit-source-id: 9f01371ae3515990c5595f1eb2361174050066b8
1 parent ac30f64 commit 24f8d4d

26 files changed

Lines changed: 247 additions & 30 deletions

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ untyped-import
9797
untyped-type-import
9898

9999
[version]
100-
^0.88.0
100+
^0.89.0

.flowconfig.android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ untyped-import
9797
untyped-type-import
9898

9999
[version]
100-
^0.88.0
100+
^0.89.0

Libraries/Components/ActivityIndicator/ActivityIndicator.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,12 @@ const ActivityIndicator = (
110110
);
111111
};
112112

113-
// $FlowFixMe - TODO T29156721 `React.forwardRef` is not defined in Flow, yet.
114113
const ActivityIndicatorWithRef = React.forwardRef(ActivityIndicator);
115114
ActivityIndicatorWithRef.displayName = 'ActivityIndicator';
116115

116+
/* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an error
117+
* found when Flow v0.89 was deployed. To see the error, delete this comment
118+
* and run Flow. */
117119
ActivityIndicatorWithRef.defaultProps = {
118120
animating: true,
119121
color: Platform.OS === 'ios' ? GRAY : null,
@@ -136,4 +138,7 @@ const styles = StyleSheet.create({
136138
},
137139
});
138140

141+
/* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an error
142+
* found when Flow v0.89 was deployed. To see the error, delete this comment
143+
* and run Flow. */
139144
module.exports = (ActivityIndicatorWithRef: Class<NativeComponent<Props>>);

Libraries/Components/CheckBox/CheckBox.android.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,11 @@ const styles = StyleSheet.create({
190190
*/
191191
type CheckBoxType = Class<NativeComponent<Props>>;
192192

193-
// $FlowFixMe - TODO T29156721 `React.forwardRef` is not defined in Flow, yet.
194193
const CheckBoxWithRef = React.forwardRef(function CheckBoxWithRef(props, ref) {
195194
return <CheckBox {...props} forwardedRef={ref} />;
196195
});
197196

197+
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
198+
* error found when Flow v0.89 was deployed. To see the error, delete this
199+
* comment and run Flow. */
198200
module.exports = (CheckBoxWithRef: CheckBoxType);

Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,20 @@ const ProgressBarAndroid = (
8989
return <AndroidProgressBar {...props} ref={forwardedRef} />;
9090
};
9191

92-
// $FlowFixMe - TODO T29156721 `React.forwardRef` is not defined in Flow, yet.
9392
const ProgressBarAndroidToExport = React.forwardRef(ProgressBarAndroid);
9493

94+
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
95+
* error found when Flow v0.89 was deployed. To see the error, delete this
96+
* comment and run Flow. */
9597
ProgressBarAndroidToExport.defaultProps = {
9698
styleAttr: 'Normal',
9799
indeterminate: true,
98100
animating: true,
99101
};
100102

103+
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
104+
* error found when Flow v0.89 was deployed. To see the error, delete this
105+
* comment and run Flow. */
101106
module.exports = (ProgressBarAndroidToExport: Class<
102107
NativeComponent<ProgressBarAndroidProps>,
103108
>);

Libraries/Components/ProgressViewIOS/ProgressViewIOS.ios.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ const styles = StyleSheet.create({
8080
},
8181
});
8282

83-
// $FlowFixMe - TODO T29156721 `React.forwardRef` is not defined in Flow, yet.
8483
const ProgressViewIOSWithRef = React.forwardRef(ProgressViewIOS);
8584

85+
/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an
86+
* error found when Flow v0.89 was deployed. To see the error, delete this
87+
* comment and run Flow. */
8688
module.exports = (ProgressViewIOSWithRef: NativeProgressViewIOS);

Libraries/Components/ScrollView/ScrollView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ export type Props = $ReadOnly<{|
403403
* - `false`, deprecated, use 'never' instead
404404
* - `true`, deprecated, use 'always' instead
405405
*/
406-
/* $FlowFixMe(>=0.86.0 site=react_native_fb) This comment suppresses an error
407-
* found when Flow v0.86 was deployed. To see the error, delete this comment
406+
/* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an error
407+
* found when Flow v0.89 was deployed. To see the error, delete this comment
408408
* and run Flow. */
409409
keyboardShouldPersistTaps?: ?('always' | 'never' | 'handled' | false | true),
410410
/**

Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ const styles = StyleSheet.create({
127127
},
128128
});
129129

130-
// $FlowFixMe - TODO T29156721 `React.forwardRef` is not defined in Flow, yet.
131130
const SegmentedControlIOSWithRef = React.forwardRef(
132131
(
133132
props: SegmentedControlIOSProps,
@@ -137,4 +136,7 @@ const SegmentedControlIOSWithRef = React.forwardRef(
137136
},
138137
);
139138

139+
/* $FlowFixMe(>=0.89.0 site=react_native_ios_fb) This comment suppresses an
140+
* error found when Flow v0.89 was deployed. To see the error, delete this
141+
* comment and run Flow. */
140142
module.exports = (SegmentedControlIOSWithRef: NativeSegmentedControlIOS);

Libraries/Components/Slider/Slider.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,11 @@ const Slider = (
250250
);
251251
};
252252

253-
// $FlowFixMe - TODO T29156721 `React.forwardRef` is not defined in Flow, yet.
254253
const SliderWithRef = React.forwardRef(Slider);
255254

255+
/* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an error
256+
* found when Flow v0.89 was deployed. To see the error, delete this comment
257+
* and run Flow. */
256258
SliderWithRef.defaultProps = {
257259
disabled: false,
258260
value: 0,
@@ -274,4 +276,7 @@ if (Platform.OS === 'ios') {
274276
});
275277
}
276278

279+
/* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an error
280+
* found when Flow v0.89 was deployed. To see the error, delete this comment
281+
* and run Flow. */
277282
module.exports = (SliderWithRef: Class<ReactNative.NativeComponent<Props>>);

Libraries/Components/ToolbarAndroid/ToolbarAndroid.android.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ class ToolbarAndroid extends React.Component<Props> {
236236
}
237237
}
238238

239-
// $FlowFixMe - TODO T29156721 `React.forwardRef` is not defined in Flow, yet.
240239
const ToolbarAndroidToExport = React.forwardRef(
241240
(
242241
props: ToolbarAndroidProps,
@@ -246,6 +245,9 @@ const ToolbarAndroidToExport = React.forwardRef(
246245
},
247246
);
248247

248+
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
249+
* error found when Flow v0.89 was deployed. To see the error, delete this
250+
* comment and run Flow. */
249251
module.exports = (ToolbarAndroidToExport: Class<
250252
NativeComponent<ToolbarAndroidProps>,
251253
>);

0 commit comments

Comments
 (0)