mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Minor changes to Flow types
Summary: Changelog: [Internal] Reviewed By: arushikesarwani94 Differential Revision: D34171528 fbshipit-source-id: c3fdc4a8c77731f1f43f0e6d830d172906ed79a1
This commit is contained in:
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,
|
||||
|}>;
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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>>,
|
||||
|
||||
Reference in new issue
Block a user