Minor changes to Flow types

Summary: Changelog: [Internal]

Reviewed By: arushikesarwani94

Differential Revision: D34171528

fbshipit-source-id: c3fdc4a8c77731f1f43f0e6d830d172906ed79a1
This commit is contained in:
Moti Zilberman authored and Facebook GitHub Bot committed 2022-02-15 08:50:55 -08:00
1 parent a86c521f50
commit 1814bffcc2
3 files changed
+3 -3

No files matched your search

@@ -675,7 +675,7 @@ type State = {|
const IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16;
type ScrollViewComponentStatics = $ReadOnly<{|
export type ScrollViewComponentStatics = $ReadOnly<{|
Context: typeof ScrollViewContext,
|}>;
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -11,7 +11,7 @@
import * as React from 'react';
import type {HostComponent} from '../Renderer/shims/ReactNativeTypes';
export type SyntheticEvent<T> = $ReadOnly<{|
export type SyntheticEvent<+T> = $ReadOnly<{|
bubbles: ?boolean,
cancelable: ?boolean,
currentTarget: number | React.ElementRef<HostComponent<mixed>>,