Fix Flow type for onAccessibilityEscape

Summary: This was added in [this PR](https://github.com/facebook/react-native/pull/22047) with a non strict type

Reviewed By: yungsters

Differential Revision: D13617894

fbshipit-source-id: 849f83203556e2830ac725570c9053503377f4be
This commit is contained in:
Eli White
2019-01-10 11:09:53 -08:00
committed by Facebook Github Bot
parent 09795b6334
commit a1dc92e6f0

View File

@@ -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<{|