Skip to content

Commit

Permalink
Merge pull request #54 from bence-toth/is-enabled-type
Browse files Browse the repository at this point in the history
Updated ambient type after renaming isEnabled parameter
  • Loading branch information
bence-toth committed Aug 19, 2022
2 parents 1e155b6 + ec6644b commit 1333c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ declare module "react-hook-geolocation" {
export default function useGeolocation(
positionOptions?: PositionOptions,
callback?: (geolocation: EnrichedGeolocationCoordinates) => void,
enable?: boolean
isEnabled?: boolean
): EnrichedGeolocationCoordinates;
}

0 comments on commit 1333c63

Please sign in to comment.