Skip to content

Commit

Permalink
Fix simulateRelatedView type
Browse files Browse the repository at this point in the history
This was mistakenly put on `ToolsView`, but it's actually on `ToolView`
  • Loading branch information
bendemboski committed Mar 9, 2024
1 parent d300545 commit c5440da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/joint-core/types/joint.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1799,8 +1799,6 @@ export namespace dia {
hide(): this;

mount(): this;

protected simulateRelatedView(el: SVGElement): void;
}

namespace ToolView {
Expand All @@ -1820,6 +1818,8 @@ export namespace dia {

configure(opt?: ToolView.Options): this;

protected simulateRelatedView(el: SVGElement): void;

show(): void;

hide(): void;
Expand Down

0 comments on commit c5440da

Please sign in to comment.