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; }