Skip to content

Commit cf0ccaf

Browse files
author
Christian Paul
authored
TypeScript: opts parameter of client.startClient is optional (#2106)
1 parent 34a3955 commit cf0ccaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ export class MatrixClient extends EventEmitter {
10091009
* state change events.
10101010
* @param {Object=} opts Options to apply when syncing.
10111011
*/
1012-
public async startClient(opts: IStartClientOpts): Promise<void> {
1012+
public async startClient(opts?: IStartClientOpts): Promise<void> {
10131013
if (this.clientRunning) {
10141014
// client is already running.
10151015
return;

0 commit comments

Comments
 (0)