diff --git a/Libraries/Interaction/PanResponder.flow.js b/Libraries/Interaction/PanResponder.flow.js index 3db37a406125dc..129b961c34a58d 100644 --- a/Libraries/Interaction/PanResponder.flow.js +++ b/Libraries/Interaction/PanResponder.flow.js @@ -176,7 +176,7 @@ type ActiveCallback = ( type PassiveCallback = (event: PressEvent, gestureState: GestureState) => mixed; -type PanHandlers = {| +export type PanHandlers = {| onMoveShouldSetResponder: (event: PressEvent) => boolean, onMoveShouldSetResponderCapture: (event: PressEvent) => boolean, onResponderEnd: (event: PressEvent) => void, diff --git a/Libraries/Interaction/PanResponder.js b/Libraries/Interaction/PanResponder.js index 02658c1cf0c793..3f0e1e2128da6e 100644 --- a/Libraries/Interaction/PanResponder.js +++ b/Libraries/Interaction/PanResponder.js @@ -191,7 +191,7 @@ type ActiveCallback = ( type PassiveCallback = (event: PressEvent, gestureState: GestureState) => mixed; -type PanHandlers = {| +export type PanHandlers = {| onMoveShouldSetResponder: (event: PressEvent) => boolean, onMoveShouldSetResponderCapture: (event: PressEvent) => boolean, onResponderEnd: (event: PressEvent) => void,