types.ts (327B)
1 import type { IClientGeolocationPosition } from "@radroots/geo"; 2 import type { ResolveErrorMsg } from "@radroots/utils"; 3 import { type ClientGeolocationErrorMessage } from "./error.js"; 4 5 export interface IClientGeolocation { 6 current(): Promise<ResolveErrorMsg<IClientGeolocationPosition, ClientGeolocationErrorMessage>>; 7 }