@yandex/ymaps3-types
Version:
Types for ymaps3 maps library
11 lines (10 loc) • 331 B
TypeScript
import type { LngLat } from "../common/types/index";
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 };