Skip to content

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Apr 10, 2019

This PR moves in the Flow type annotations from events/EventTypes to shared/ReactTypes to enable the RN build to properly consume these types without dependency misalignment.


export type ReactResponderEvent = {
nativeEvent: AnyNativeEvent,
target: Element | Document,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these global flow types? Will flow pass with these in fbsource/React Native?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are globals for Flow. We can revise them when we come to the RN work to add support for these events, but this should pass CI now.

@trueadm trueadm merged commit c64b330 into facebook:master Apr 10, 2019
@trueadm trueadm deleted the move-flow-imports branch April 10, 2019 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants