diff --git a/ReactAndroid/src/androidTest/js/ScrollViewTestModule.js b/ReactAndroid/src/androidTest/js/ScrollViewTestModule.js index 3a6a887919b..11ee033dc84 100644 --- a/ReactAndroid/src/androidTest/js/ScrollViewTestModule.js +++ b/ReactAndroid/src/androidTest/js/ScrollViewTestModule.js @@ -30,7 +30,7 @@ import type {PressEvent} from 'react-native/Libraries/Types/CoreEventTypes'; // Shared by integration tests for ScrollView and HorizontalScrollView -let scrollViewApp; +let scrollViewApp: ScrollViewTestApp | HorizontalScrollViewTestApp; type ItemProps = $ReadOnly<{| onPress: (event: PressEvent) => void,