From cf0ccaf93d32249a387c68dcd5f37d24dbcd4fc7 Mon Sep 17 00:00:00 2001 From: Christian Paul Date: Wed, 2 Feb 2022 16:29:58 +0100 Subject: [PATCH] TypeScript: opts parameter of client.startClient is optional (#2106) --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index f590ddf0d..0dcff1d75 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1009,7 +1009,7 @@ export class MatrixClient extends EventEmitter { * state change events. * @param {Object=} opts Options to apply when syncing. */ - public async startClient(opts: IStartClientOpts): Promise { + public async startClient(opts?: IStartClientOpts): Promise { if (this.clientRunning) { // client is already running. return;