Skip to content

Commit

Permalink
fix: 修复类型报错
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingkang committed Sep 6, 2023
1 parent 5f4b48b commit c1f11a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/types/loca/layer/Layer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,7 @@ declare namespace Loca {
* 设置图层支持的动画属性。
*/
addAnimate(config: Layer.AnimateConfig, callback: () => void): void;

setSource(data: any): void;
}
}
2 changes: 0 additions & 2 deletions packages/types/loca/layer/ScatterLayer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ declare namespace Loca {
class ScatterLayer extends Layer {
constructor(opts: ScatterLayer.Options);

setSource(data: any): void;

/**
* 更新图层样式,如果有的字段被缺省,那么它的值将会被重置为默认值。
* @param style
Expand Down

0 comments on commit c1f11a9

Please sign in to comment.