Skip to content

Commit

Permalink
Add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Jul 11, 2023
1 parent cb3126f commit 0ba9237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextEditMode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function selByBBoxListener (): void {
this.addBBoxListeners();
}

export function updateSelectedBBox (span: HTMLSpanElement, dragHandler: DragHandler, neonView: NeonView) {
export function updateSelectedBBox (span: HTMLSpanElement, dragHandler: DragHandler, neonView: NeonView): void {
unselect();

const bboxId = Array.from(span.classList).find(e => e !== 'text-select' && e !== 'selected-to-edit');
Expand Down

0 comments on commit 0ba9237

Please sign in to comment.