Skip to content

Commit

Permalink
fix(LayerGroup): removeLayers 参数类型错误
Browse files Browse the repository at this point in the history
  • Loading branch information
xyy94813 committed Mar 21, 2024
1 parent 12dd22e commit f54af8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/layers/LayerGroup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export declare class LayerGroup<
/** 从集合中删除传入的图层实例 */
removeLayer(layer: Layer): this;
/** 从集合中删除传入的图层实例 */
removeLayers(layers: Layer): void;
removeLayers(layers: Layer[]): void;
/** 获取组里所有对象,包括图层和覆盖物 */
getLayers(): Layer[];
/** 清空图层 */
Expand Down

0 comments on commit f54af8e

Please sign in to comment.