diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index 84da712b4ec..729bf2e529e 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -247,17 +247,17 @@ type Props = $ReadOnly<{| returnKeyType?: ?ReturnKeyType, maxLength?: ?number, multiline?: ?boolean, - onBlur?: ?(e: BlurEvent) => void, - onFocus?: ?(e: FocusEvent) => void, - onChange?: ?(e: ChangeEvent) => void, - onChangeText?: ?(text: string) => void, - onContentSizeChange?: ?(e: ContentSizeChangeEvent) => void, - onTextInput?: ?(e: TextInputEvent) => void, - onEndEditing?: ?(e: EditingEvent) => void, - onSelectionChange?: ?(e: SelectionChangeEvent) => void, - onSubmitEditing?: ?(e: EditingEvent) => void, - onKeyPress?: ?(e: KeyPressEvent) => void, - onScroll?: ?(e: ScrollEvent) => void, + onBlur?: ?(e: BlurEvent) => mixed, + onFocus?: ?(e: FocusEvent) => mixed, + onChange?: ?(e: ChangeEvent) => mixed, + onChangeText?: ?(text: string) => mixed, + onContentSizeChange?: ?(e: ContentSizeChangeEvent) => mixed, + onTextInput?: ?(e: TextInputEvent) => mixed, + onEndEditing?: ?(e: EditingEvent) => mixed, + onSelectionChange?: ?(e: SelectionChangeEvent) => mixed, + onSubmitEditing?: ?(e: EditingEvent) => mixed, + onKeyPress?: ?(e: KeyPressEvent) => mixed, + onScroll?: ?(e: ScrollEvent) => mixed, placeholder?: ?Stringish, placeholderTextColor?: ?ColorValue, secureTextEntry?: ?boolean,