mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Pre-suppress errors in xplat ahead of 0.257.0 release
Summary: Changelog: [Internal] Reviewed By: panagosg7 Differential Revision: D67368232 fbshipit-source-id: 23111f62c5731b5a58e15ac8ef2dcd9ea8006573
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7948044179
commit
f8119fc52b
@@ -328,6 +328,7 @@ class Modal extends React.Component<Props, State> {
|
||||
<VirtualizedListContextResetter>
|
||||
<ScrollView.Context.Provider value={null}>
|
||||
<View
|
||||
// $FlowFixMe[incompatible-type]
|
||||
style={[styles.container, containerStyles]}
|
||||
collapsable={false}>
|
||||
{innerChildren}
|
||||
@@ -353,6 +354,7 @@ const styles = StyleSheet.create({
|
||||
/* $FlowFixMe[invalid-computed-prop] (>=0.111.0 site=react_native_fb) This
|
||||
* comment suppresses an error found when Flow v0.111 was deployed. To see
|
||||
* the error, delete this comment and run Flow. */
|
||||
// $FlowFixMe[incompatible-call]
|
||||
[side]: 0,
|
||||
top: 0,
|
||||
flex: 1,
|
||||
|
||||
+1
@@ -118,6 +118,7 @@ class RNTesterPlatformTestEventRecorder {
|
||||
(event, eventType) =>
|
||||
callback && callback(event, eventType, targetName),
|
||||
);
|
||||
// $FlowFixMe[incompatible-call]
|
||||
const eventListenerProps = this.relevantEvents.reduce(
|
||||
(acc: ViewProps, eventName) => {
|
||||
const eventPropName =
|
||||
|
||||
@@ -131,6 +131,7 @@ class FlatListExample extends React.PureComponent<Props, State> {
|
||||
}
|
||||
|
||||
_setBooleanValue: string => boolean => void = key => value =>
|
||||
// $FlowFixMe[incompatible-call]
|
||||
this.setState({[key]: value});
|
||||
|
||||
_setIsRTL: boolean => void = value => {
|
||||
|
||||
@@ -1009,6 +1009,7 @@ class VirtualizedList extends StateSafePureComponent<Props, State> {
|
||||
cells.push(
|
||||
<View
|
||||
key={`$spacer-${section.first}`}
|
||||
// $FlowFixMe[incompatible-type]
|
||||
style={{[spacerKey]: spacerSize}}
|
||||
/>,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user