From 7daab62850b1c482eb27f5d297491bffa79fcbec Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Sun, 12 Sep 2021 09:21:04 +0200 Subject: [PATCH] Types fixes for CreateKeyBackupDialog TS migration --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 1598ef34b..f9c54126b 100644 --- a/src/client.ts +++ b/src/client.ts @@ -2470,7 +2470,7 @@ export class MatrixClient extends EventEmitter { */ // TODO: Verify types public async prepareKeyBackupVersion( - password: string, + password?: string, opts: IKeyBackupPrepareOpts = { secureSecretStorage: false }, ): Promise> { if (!this.crypto) {