Skip to content

Commit

Permalink
types(dai.Paper): fix dumpViews() and updateViews() signature (#2696)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus authored Jun 14, 2024
1 parent e4675d0 commit 369b58b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/joint-core/types/joint.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,6 @@ export namespace dia {
mountBatchSize?: number;
unmountBatchSize?: number;
viewport?: Paper.ViewportCallback;
progress?: Paper.ProgressCallback;
}): void;

checkViewport(opt?: {
Expand All @@ -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;
Expand Down

0 comments on commit 369b58b

Please sign in to comment.