From 369b58bf797bf4643c5db967b777ef652615bcea Mon Sep 17 00:00:00 2001 From: Roman Bruckner Date: Fri, 14 Jun 2024 08:29:11 +0200 Subject: [PATCH] types(dai.Paper): fix dumpViews() and updateViews() signature (#2696) --- packages/joint-core/types/joint.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/joint-core/types/joint.d.ts b/packages/joint-core/types/joint.d.ts index 353a892e1..72c7058ff 100644 --- a/packages/joint-core/types/joint.d.ts +++ b/packages/joint-core/types/joint.d.ts @@ -1596,7 +1596,6 @@ export namespace dia { mountBatchSize?: number; unmountBatchSize?: number; viewport?: Paper.ViewportCallback; - progress?: Paper.ProgressCallback; }): void; checkViewport(opt?: { @@ -1611,10 +1610,10 @@ export namespace dia { updateViews(opt?: { batchSize?: number; viewport?: Paper.ViewportCallback; - progress?: Paper.ProgressCallback; }): { updated: number; batches: number; + priority: number; }; hasScheduledUpdates(): boolean;