Skip to content

Commit

Permalink
feat: 修复类型
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingkang committed Nov 23, 2023
1 parent 294c1b5 commit d64bb96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/amap/src/marker-cluster/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export interface EventMap extends ReactAMap.GetEventFunObject<AMap.MarkerCluster.EventMap> {
export interface EventMap extends Partial<AMap.MarkerCluster.EventMap> {
/** 创建事件 */
created?: (instance: AMap.MarkerCluster) => void;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/types/map/map/Map.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ declare namespace AMap {
/**
* 额外配置的 WebGL 参数
*/
WebGLParams: {
WebGLParams?: {
preserveDrawingBuffer?: boolean;
[key: string]: any;
};
Expand Down

0 comments on commit d64bb96

Please sign in to comment.