Skip to content

Commit a1dc92e

Browse files
elicwhitefacebook-github-bot
authored andcommitted
Fix Flow type for onAccessibilityEscape
Summary: This was added in [this PR](facebook#22047) with a non strict type Reviewed By: yungsters Differential Revision: D13617894 fbshipit-source-id: 849f83203556e2830ac725570c9053503377f4be
1 parent 09795b6 commit a1dc92e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/Components/View/ViewPropTypes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ type DirectEventProps = $ReadOnly<{|
6969
*
7070
* See http://facebook.github.io/react-native/docs/view.html#onaccessibilityescape
7171
*/
72-
onAccessibilityEscape?: ?Function,
72+
onAccessibilityEscape?: ?() => void,
7373
|}>;
7474

7575
type TouchEventProps = $ReadOnly<{|

0 commit comments

Comments
 (0)