From 39ac6e2859512df65db3ffc57d468861c4e706f6 Mon Sep 17 00:00:00 2001 From: Sakshamb24 <139857838+Sakshamb24@users.noreply.github.com> Date: Wed, 6 Aug 2025 22:00:38 +0530 Subject: [PATCH] fix: export GeoLocationSensorState type for external use --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 62b69356b7..2c61071ef0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -27,6 +27,9 @@ export { default as useError } from './useError'; export { default as useFavicon } from './useFavicon'; export { default as useFullscreen } from './useFullscreen'; export { default as useGeolocation } from './useGeolocation'; +export * from './useGeolocation'; +export type { GeoLocationSensorState } from './useGeolocation'; + export { default as useGetSet } from './useGetSet'; export { default as useGetSetState } from './useGetSetState'; export { default as useHarmonicIntervalFn } from './useHarmonicIntervalFn';