Skip to content

Commit ec6644b

Browse files
committed
Updated ambient type after renaming isEnabled parameter
1 parent 1e155b6 commit ec6644b

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)