From 0091f5942a020ae2fa8836f4857b9b7ae268f1c8 Mon Sep 17 00:00:00 2001 From: Arthur Khokhlov Date: Wed, 30 Oct 2024 12:33:46 +0100 Subject: [PATCH] types(dia.LinkView): fixes properties typings (#2766) --- packages/joint-core/types/joint.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/joint-core/types/joint.d.ts b/packages/joint-core/types/joint.d.ts index e7027c073..8f2843220 100644 --- a/packages/joint-core/types/joint.d.ts +++ b/packages/joint-core/types/joint.d.ts @@ -1140,6 +1140,11 @@ export namespace dia { options: LinkView.Options; sourceAnchor: g.Point; targetAnchor: g.Point; + sourcePoint: g.Point; + targetPoint: g.Point; + sourceBBox: g.Rect; + targetBBox: g.Rect; + route: g.Point[]; sendToken(token: SVGElement, duration?: number, callback?: () => void): void; sendToken(token: SVGElement, opt?: { duration?: number, direction?: string, connection?: string }, callback?: () => void): void;