diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index 7cee521c162..c3eccd2049e 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -675,7 +675,7 @@ type State = {| const IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16; -type ScrollViewComponentStatics = $ReadOnly<{| +export type ScrollViewComponentStatics = $ReadOnly<{| Context: typeof ScrollViewContext, |}>; diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index 53f8c5b9772..4e781fb66bc 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -1350,7 +1350,7 @@ ExportedForwardRef.State = { blurTextInput: TextInputState.blurTextInput, }; -type TextInputComponentStatics = $ReadOnly<{| +export type TextInputComponentStatics = $ReadOnly<{| State: $ReadOnly<{| currentlyFocusedInput: typeof TextInputState.currentlyFocusedInput, currentlyFocusedField: typeof TextInputState.currentlyFocusedField, diff --git a/Libraries/Types/CoreEventTypes.js b/Libraries/Types/CoreEventTypes.js index de4e43dd4ff..02922b69c40 100644 --- a/Libraries/Types/CoreEventTypes.js +++ b/Libraries/Types/CoreEventTypes.js @@ -11,7 +11,7 @@ import * as React from 'react'; import type {HostComponent} from '../Renderer/shims/ReactNativeTypes'; -export type SyntheticEvent = $ReadOnly<{| +export type SyntheticEvent<+T> = $ReadOnly<{| bubbles: ?boolean, cancelable: ?boolean, currentTarget: number | React.ElementRef>,