Rocket.Chat.ReactNative/patches/react-native-gesture-handle...

10 lines
884 B
Diff

diff --git a/node_modules/react-native-gesture-handler/lib/typescript/components/gestureHandlerRootHOC.d.ts b/node_modules/react-native-gesture-handler/lib/typescript/components/gestureHandlerRootHOC.d.ts
index 8abd6b3..6e53b01 100644
--- a/node_modules/react-native-gesture-handler/lib/typescript/components/gestureHandlerRootHOC.d.ts
+++ b/node_modules/react-native-gesture-handler/lib/typescript/components/gestureHandlerRootHOC.d.ts
@@ -1,3 +1,3 @@
import * as React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
-export default function gestureHandlerRootHOC<P extends Record<string, unknown>>(Component: React.ComponentType<P>, containerStyles?: StyleProp<ViewStyle>): React.ComponentType<P>;
+export default function gestureHandlerRootHOC<P extends any>(Component: React.ComponentType<P>, containerStyles?: StyleProp<ViewStyle>): React.ComponentType<P>;