diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index a8587a180..c8e3b36c9 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -739,12 +739,12 @@ if (Platform.OS === 'android') { }; AndroidScrollView = requireNativeComponent( 'RCTScrollView', - (ScrollView: ReactClass<*>), + (ScrollView: ReactClass), nativeOnlyProps ); AndroidHorizontalScrollView = requireNativeComponent( 'AndroidHorizontalScrollView', - (ScrollView: ReactClass<*>), + (ScrollView: ReactClass), nativeOnlyProps ); } else if (Platform.OS === 'ios') { @@ -758,7 +758,7 @@ if (Platform.OS === 'android') { }; RCTScrollView = requireNativeComponent( 'RCTScrollView', - (ScrollView: ReactClass<*>), + (ScrollView: ReactClass), nativeOnlyProps, ); RCTScrollContentView = requireNativeComponent('RCTScrollContentView', View);