From 7487d3c1f4eccda091212887032e1a0d29043d2c Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Wed, 16 Sep 2020 15:22:34 -0700 Subject: [PATCH] Fix amap-js-api-scale reference to Position type (#47647) 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; /** * 相对于地图容器左上角的偏移量 */