Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,7 @@ type ____FlattenStyleProp_Helper<
: TStyleProp extends ReadonlyArray<infer V>
? ____FlattenStyleProp_Helper<
V,
// $FlowFixMe[incompatible-use]
Depth extends number ? FlattenDepthLimiter[Depth] : 0,
>
: TStyleProp;
Expand Down
1 change: 1 addition & 0 deletions packages/rn-tester/js/examples/Image/ImageExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ class NetworkImageExample extends React.Component<
<Image
{...this.props}
style={[styles.base, styles.visibleOverflow]}
// $FlowFixMe[missing-local-annot]
onLoadStart={e => this.setState({loading: true})}
onError={e =>
this.setState({error: e.nativeEvent.error, loading: false})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class AddRemoveExample extends React.Component<{...}, AddRemoveExampleState> {
update: {type: 'easeInEaseOut', property: 'opacity'},
delete: {type: 'easeInEaseOut', property: 'opacity'},
},
// $FlowFixMe[missing-local-annot]
args => console.log('AddRemoveExample completed', args),
);
}
Expand Down Expand Up @@ -171,6 +172,7 @@ class ReparentingExample extends React.Component<
update: {type: 'easeInEaseOut', property: 'opacity'},
delete: {type: 'easeInEaseOut', property: 'opacity', duration: 1000},
},
// $FlowFixMe[missing-local-annot]
args => console.log('ReparentingExample completed', args),
);
this._onPressToggle();
Expand Down Expand Up @@ -229,6 +231,7 @@ class CrossFadeExample extends React.Component<{...}, CrossFadeExampleState> {
};

_onPressToggle = () => {
// $FlowFixMe[missing-local-annot]
LayoutAnimation.easeInEaseOut(args =>
console.log('CrossFadeExample completed', args),
);
Expand Down Expand Up @@ -289,6 +292,7 @@ class LayoutUpdateExample extends React.Component<
type: LayoutAnimation.Types.linear,
},
},
// $FlowFixMe[missing-local-annot]
args => console.log('LayoutUpdateExample completed', args),
);

Expand Down
1 change: 1 addition & 0 deletions packages/virtualized-lists/Lists/VirtualizedList.js
Original file line number Diff line number Diff line change
Expand Up @@ -1652,6 +1652,7 @@ class VirtualizedList extends StateSafePureComponent<
this._notifyCrossOrientationChildren();
}
},
// $FlowFixMe[missing-local-annot]
error => {
console.warn(
"VirtualizedList: Encountered an error while measuring a list's" +
Expand Down
Loading