Skip to content

Commit

Permalink
feat(RangingTool): turnOff 方法支持传入 undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
xyy94813 committed Mar 13, 2024
1 parent 04ad266 commit 19f4ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/tools/RangingTool.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export declare class RangingTool extends Event<RangingToolEventType> {
* 关闭测距工具
* @param {boolean} removeOverlays 是否删除测距过程产生的覆盖物
*/
turnOff(removeOverlays: boolean): void;
turnOff(removeOverlays?: boolean): void;
}

export default RangingTool;

0 comments on commit 19f4ca3

Please sign in to comment.