Skip to content

Commit adb147e

Browse files
committed
Add GeolocationLike interface to the external API
1 parent c6dd31f commit adb147e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/geolocation/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export {
22
getGeolocationProvider,
33
GeolocationProvider,
44
Geolocation,
5+
GeolocationLike,
56
AcquireOptions,
67
StreamOptions,
78
} from "../internal/geolocation";

src/internal/geolocation/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export interface StreamOptions extends AcquireOptions {
5555
saveBattery?: boolean;
5656
}
5757

58-
export { Geolocation } from "./geolocation";
58+
export { Geolocation, GeolocationLike } from "./geolocation";
5959

6060
function geolocationOptionsToPluginOptions(
6161
options: AcquireOptions | StreamOptions

0 commit comments

Comments
 (0)