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.
any
1 parent 12342af commit abccee8Copy full SHA for abccee8
packages/react-native-gesture-handler/src/v3/hooks/utils/relationUtils.ts
@@ -1,4 +1,9 @@
1
-import { ComposedGesture, Gesture, GestureRelations } from '../../types';
+import {
2
+ BaseGestureConfig,
3
+ ComposedGesture,
4
+ Gesture,
5
+ GestureRelations,
6
+} from '../../types';
7
8
export function isComposedGesture(
9
gesture: Gesture
@@ -53,8 +58,8 @@ function makeSimultaneousWithExternalGestureSymmetric(
53
58
}
54
59
55
60
56
-export function prepareRelations(
57
- config: any,
61
+export function prepareRelations<THandlerData, TConfig>(
62
+ config: BaseGestureConfig<THandlerData, TConfig>,
63
handlerTag: number
64
): GestureRelations {
65
makeSimultaneousWithExternalGestureSymmetric(
0 commit comments