From aa02dde3fa665a41fbfca6ada465286f803e47e2 Mon Sep 17 00:00:00 2001 From: navanshu Date: Wed, 22 Nov 2023 19:51:51 +0530 Subject: [PATCH] Update useGesture.ts (#642) Renamed UseGestureConfig to UserGestureConfig to fix type definition --- packages/react/src/useGesture.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/useGesture.ts b/packages/react/src/useGesture.ts index 417b28bf6..a93fcc40f 100644 --- a/packages/react/src/useGesture.ts +++ b/packages/react/src/useGesture.ts @@ -8,7 +8,7 @@ import { createUseGesture } from './createUseGesture' * The most complete gesture hook, allowing support for multiple gestures. * * @param {GestureHandlers} handlers - an object with on[Gesture] keys containg gesture handlers - * @param {UseGestureConfig} config - the full config object + * @param {UserGestureConfig} config - the full config object */ export function useGesture< HandlerTypes extends AnyHandlerEventTypes = EventTypes,