From c5440da484f5d3f9c974285f54c6a252b62478e8 Mon Sep 17 00:00:00 2001 From: Ben Demboski Date: Fri, 8 Mar 2024 16:44:30 -0800 Subject: [PATCH] Fix simulateRelatedView type This was mistakenly put on `ToolsView`, but it's actually on `ToolView` --- packages/joint-core/types/joint.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/joint-core/types/joint.d.ts b/packages/joint-core/types/joint.d.ts index 9b409f5324..24b9369111 100644 --- a/packages/joint-core/types/joint.d.ts +++ b/packages/joint-core/types/joint.d.ts @@ -1799,8 +1799,6 @@ export namespace dia { hide(): this; mount(): this; - - protected simulateRelatedView(el: SVGElement): void; } namespace ToolView { @@ -1820,6 +1818,8 @@ export namespace dia { configure(opt?: ToolView.Options): this; + protected simulateRelatedView(el: SVGElement): void; + show(): void; hide(): void;