From 907230104d16a329c37ec70097cb0aec9209d2f8 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Wed, 16 Sep 2020 11:52:58 -0700 Subject: [PATCH] Fix amap-js-api-scale reference to Position type It was supposed to be a local type, not the DOM one --- types/amap-js-api-scale/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/amap-js-api-scale/index.d.ts b/types/amap-js-api-scale/index.d.ts index 0755ea39b6..395080d7d2 100644 --- a/types/amap-js-api-scale/index.d.ts +++ b/types/amap-js-api-scale/index.d.ts @@ -42,7 +42,7 @@ declare namespace AMap { /** * 控件停靠位置 */ - position: Position; + position: Scale.Position; /** * 相对于地图容器左上角的偏移量 */