Fix declaration of onMoveShouldSetResponderCapture

This commit is contained in:
Andrew Goodale
2018-03-30 11:10:33 -04:00
parent 8887c9501f
commit 1ed52bceab

View File

@@ -1526,7 +1526,7 @@ export interface GestureResponderHandlers {
* So if a parent View wants to prevent the child from becoming responder on a touch start,
* it should have a onStartShouldSetResponderCapture handler which returns true.
*/
onMoveShouldSetResponderCapture?: () => void;
onMoveShouldSetResponderCapture?: (event: GestureResponderEvent) => boolean;
}
// @see https://facebook.github.io/react-native/docs/view.html#style