fix: return annotations (#7118)

* chore: remove suppress annotations

* chore: remove fileoverview annotation

* chore: remove other unused annotations

* chore: change return to returns

* chore: enable tag linting
This commit is contained in:
Beka Westberg
2023-05-24 13:01:33 -07:00
committed by GitHub
parent b5db021eed
commit 42b8c6e3ab
36 changed files with 49 additions and 112 deletions

View File

@@ -149,7 +149,7 @@ export abstract class Bubble implements IBubble {
this.renderTail();
}
/** @return the size of this bubble. */
/** @returns the size of this bubble. */
protected getSize() {
return this.size;
}
@@ -417,7 +417,7 @@ export abstract class Bubble implements IBubble {
}
/**
* @return a rect defining the bounds of the workspace's view in workspace
* @returns a rect defining the bounds of the workspace's view in workspace
* coordinates.
*/
private getWorkspaceViewRect(viewMetrics: ContainerRegion): Rect {
@@ -436,7 +436,7 @@ export abstract class Bubble implements IBubble {
return new Rect(top, bottom, left, right);
}
/** @return the scrollbar thickness in workspace units. */
/** @returns the scrollbar thickness in workspace units. */
private getScrollbarThickness() {
return Scrollbar.scrollbarThickness / this.workspace.scale;
}

View File

@@ -26,7 +26,7 @@ export class TextBubble extends Bubble {
this.updateBubbleSize();
}
/** @return the current text of this text bubble. */
/** @returns the current text of this text bubble. */
getText(): string {
return this.text;
}