mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user