We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b16cdb commit 8579092Copy full SHA for 8579092
packages/react-native-gesture-handler/src/web/interfaces.ts
@@ -102,11 +102,12 @@ export interface ResultEvent
102
timeStamp: number;
103
}
104
105
+// We need to leave any for v2 compatibility
106
export interface PropsRef {
107
onGestureHandlerEvent: (e: any) => void;
- onGestureHandlerAnimatedEvent?: (e: any) => void;
108
+ onGestureHandlerAnimatedEvent?: (e: ResultEvent) => void;
109
onGestureHandlerStateChange: (e: any) => void;
- onGestureHandlerTouchEvent?: (e: any) => void;
110
+ onGestureHandlerTouchEvent?: (e: ResultEvent) => void;
111
112
113
export interface AdaptedEvent {
0 commit comments