From 4dd88a56bc467fe2ca7a7725093e0ee23e99d8c8 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 5baaf2f..339e604 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; } /**