From 733e8e708f7fbec5924f317c813230f168f07180 Mon Sep 17 00:00:00 2001 From: David Brochart Date: Tue, 2 Apr 2024 17:17:27 +0200 Subject: [PATCH] Allow undoing changes when connecting --- javascript/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/src/api.ts b/javascript/src/api.ts index 26fafd1..2f4b2db 100644 --- a/javascript/src/api.ts +++ b/javascript/src/api.ts @@ -97,7 +97,7 @@ export interface IDocumentProvider extends IDisposable { /** * Connect the shared document to a room with given ID (disconnect from previous room). */ - connect(roomId: string): void; + connect(roomId: string, merge?: boolean): void; } /**