chore!: Fix warnings when generating docs. (#8660)

This commit is contained in:
Aaron Dodson
2025-01-06 10:53:45 -08:00
committed by GitHub
parent 54ebfb7a0e
commit eeef2edf34
11 changed files with 14 additions and 18 deletions

View File

@@ -63,7 +63,7 @@ export interface IMetricsManager {
* Gets the width, height and position of the toolbox on the workspace in
* pixel coordinates. Returns 0 for the width and height if the workspace has
* a simple toolbox instead of a category toolbox. To get the width and height
* of a simple toolbox, see {@link IMetricsManager#getFlyoutMetrics}.
* of a simple toolbox, see {@link IMetricsManager.getFlyoutMetrics}.
*
* @returns The object with the width, height and position of the toolbox.
*/

View File

@@ -4,18 +4,15 @@
* SPDX-License-Identifier: Apache-2.0
*/
/** @internal */
export interface IRenderedElement {
/**
* @returns The root SVG element of htis rendered element.
* @returns The root SVG element of this rendered element.
*/
getSvgRoot(): SVGElement;
}
/**
* @returns True if the given object is an IRenderedElement.
*
* @internal
*/
export function isRenderedElement(obj: any): obj is IRenderedElement {
return obj['getSvgRoot'] !== undefined;