Skip to content

Commit 1333c63

Browse files
authored
Merge pull request #54 from bence-toth/is-enabled-type
Updated ambient type after renaming isEnabled parameter
2 parents 1e155b6 + ec6644b commit 1333c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ declare module "react-hook-geolocation" {
88
export default function useGeolocation(
99
positionOptions?: PositionOptions,
1010
callback?: (geolocation: EnrichedGeolocationCoordinates) => void,
11-
enable?: boolean
11+
isEnabled?: boolean
1212
): EnrichedGeolocationCoordinates;
1313
}

0 commit comments

Comments
 (0)