@yandex/ymaps3-types
Version: 
Types for ymaps3 maps library
11 lines (10 loc) • 325 B
TypeScript
import type { LngLat } from "../common/types";
import { Config } from "./config";
declare const geolocation: {
    getPosition: typeof getPosition;
};
export declare function getPosition(options?: PositionOptions, config?: Config | undefined): Promise<{
    coords: LngLat;
    accuracy?: number;
}>;
export { geolocation };