From d64bb966c4b8c879a4c3ee643022681d22bd42ec Mon Sep 17 00:00:00 2001 From: wangxingkang Date: Thu, 23 Nov 2023 13:27:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amap/src/marker-cluster/types.ts | 2 +- packages/types/map/map/Map.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/amap/src/marker-cluster/types.ts b/packages/amap/src/marker-cluster/types.ts index d58a711f..d240d496 100644 --- a/packages/amap/src/marker-cluster/types.ts +++ b/packages/amap/src/marker-cluster/types.ts @@ -1,4 +1,4 @@ -export interface EventMap extends ReactAMap.GetEventFunObject { +export interface EventMap extends Partial { /** 创建事件 */ created?: (instance: AMap.MarkerCluster) => void; } diff --git a/packages/types/map/map/Map.d.ts b/packages/types/map/map/Map.d.ts index d29c7ccc..62bcb1db 100644 --- a/packages/types/map/map/Map.d.ts +++ b/packages/types/map/map/Map.d.ts @@ -252,7 +252,7 @@ declare namespace AMap { /** * 额外配置的 WebGL 参数 */ - WebGLParams: { + WebGLParams?: { preserveDrawingBuffer?: boolean; [key: string]: any; };