From ec6644b24b884f6a68a6bd693d29e0b86f59a81a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20A=2E=20T=C3=B3th?= Date: Fri, 19 Aug 2022 15:07:09 +0200 Subject: [PATCH] Updated ambient type after renaming isEnabled parameter --- src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index 5948b73..bb8ff83 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -8,6 +8,6 @@ declare module "react-hook-geolocation" { export default function useGeolocation( positionOptions?: PositionOptions, callback?: (geolocation: EnrichedGeolocationCoordinates) => void, - enable?: boolean + isEnabled?: boolean ): EnrichedGeolocationCoordinates; }