From ee205b7c664b0a8e7e967037f309645cb35e6a5f 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 1154a60..1ec978c 100644 --- a/javascript/src/api.ts +++ b/javascript/src/api.ts @@ -98,7 +98,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; } /**