Skip to content

Commit

Permalink
Minor changes to Flow types
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Reviewed By: arushikesarwani94

Differential Revision: D34171528

fbshipit-source-id: c3fdc4a8c77731f1f43f0e6d830d172906ed79a1
  • Loading branch information
motiz88 authored and facebook-github-bot committed Feb 15, 2022
1 parent a86c521 commit 1814bff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Libraries/Components/ScrollView/ScrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ type State = {|

const IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16;

type ScrollViewComponentStatics = $ReadOnly<{|
export type ScrollViewComponentStatics = $ReadOnly<{|
Context: typeof ScrollViewContext,
|}>;

Expand Down
2 changes: 1 addition & 1 deletion Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Types/CoreEventTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>>,
Expand Down

0 comments on commit 1814bff

Please sign in to comment.