Skip to content

Commit

Permalink
fix(Map): 方法 plugin 返回类型错误
Browse files Browse the repository at this point in the history
  • Loading branch information
xyy94813 committed Apr 17, 2024
1 parent 26f3faa commit c2f3d3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/Map.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,8 @@ export declare class Map extends Event<MapEventType> {
setLabelRejectMask(reject?: boolean): void;

/** 加载插件 */
plugin(pluginName: string, cb: Function): any;
plugin(pluginNames: string[], cb: Function): any;
plugin(pluginName: string, cb: Function): void;
plugin(pluginNames: string[], cb: Function): void;

/**
* 重新计算容器大小
Expand Down

0 comments on commit c2f3d3d

Please sign in to comment.