Skip to content

Commit e4cc262

Browse files
DevmateXplatFlowFixMeFBFoundation Botfacebook-github-bot
authored andcommitted
xplat/js/react-native-github/packages/react-native-codegen/src/parsers/flow/components/events.js
Differential Revision: D123371215
1 parent ba89b39 commit e4cc262

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • packages/react-native/Libraries/Components/ScrollView

‎packages/react-native/Libraries/Components/ScrollView/ScrollView.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,8 +1752,7 @@ class ScrollView extends React.Component<ScrollViewProps, ScrollViewState> {
17521752
this.props.contentContainerStyle,
17531753
];
17541754
if (__DEV__ && this.props.style !== undefined) {
1755-
// $FlowFixMe[underconstrained-implicit-instantiation]
1756-
const style = flattenStyle(this.props.style);
1755+
const style = flattenStyle<ViewStyleProp>(this.props.style);
17571756
const childLayoutProps = (
17581757
['alignItems', 'justifyContent'] as const
17591758
).filter(

0 commit comments

Comments
 (0)