diff --git a/javascript/src/api.ts b/javascript/src/api.ts index 7ce28a8..26fafd1 100644 --- a/javascript/src/api.ts +++ b/javascript/src/api.ts @@ -95,9 +95,9 @@ export interface IDocumentProvider extends IDisposable { fork(): Promise; /** - * Connect the shared document to a forked room with forkId (disconnect from previous room). + * Connect the shared document to a room with given ID (disconnect from previous room). */ - connectFork(forkId: string): void; + connect(roomId: string): void; } /**