oak-common-aspect/es/amap.d.ts

7 lines
257 B
TypeScript

import { AmapInstance } from 'oak-external-sdk';
export declare function amap<T extends 'getDrivingPath' | 'regeo' | 'ipLoc' | 'getDistrict' | 'geocode'>(options: {
key: string;
method: T;
data: Parameters<AmapInstance[T]>[0];
}): Promise<any>;