Skip to content
Browse files

RN: Flow Type for `PressEvent`

Reviewed By: sahrens

Differential Revision: D7082716

fbshipit-source-id: 13e1730b0b2380ae6be63e2b36bb40b9a44a99f4
  • Loading branch information...
yungsters authored and facebook-github-bot committed Feb 26, 2018
1 parent a817c64 commit 80c18395e24760cd12b69592a10037f071255437
Showing with 14 additions and 1 deletion.
  1. +14 −1 Libraries/Types/CoreEventTypes.js
@@ -43,7 +43,20 @@ export type LayoutEvent = SyntheticEvent<

export type PressEvent = SyntheticEvent<Object>;
export type PressEvent = SyntheticEvent<
changedTouches: $ReadOnlyArray<$PropertyType<PressEvent, 'nativeEvent'>>,
force: number,
identifier: number,
locationX: number,
locationY: number,
pageX: number,
pageY: number,
target: ?number,
timestamp: number,
touches: $ReadOnlyArray<$PropertyType<PressEvent, 'nativeEvent'>>,

export type ScrollEvent = SyntheticEvent<

0 comments on commit 80c1839

Please sign in to comment.
You can’t perform that action at this time.