Skip to content

Commit

Permalink
Fix Flow type for onAccessibilityEscape
Browse files Browse the repository at this point in the history
Summary: This was added in [this PR](facebook#22047) with a non strict type

Reviewed By: yungsters

Differential Revision: D13617894

fbshipit-source-id: 849f83203556e2830ac725570c9053503377f4be
  • Loading branch information
elicwhite authored and facebook-github-bot committed Jan 10, 2019
1 parent 09795b6 commit a1dc92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Components/View/ViewPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type DirectEventProps = $ReadOnly<{|
*
* See http://facebook.github.io/react-native/docs/view.html#onaccessibilityescape
*/
onAccessibilityEscape?: ?Function,
onAccessibilityEscape?: ?() => void,
|}>;

type TouchEventProps = $ReadOnly<{|
Expand Down

0 comments on commit a1dc92e

Please sign in to comment.