You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Types fixes for CreateKeyBackupDialog TS migration
This commit is contained in:
@@ -2470,7 +2470,7 @@ export class MatrixClient extends EventEmitter {
|
|||||||
*/
|
*/
|
||||||
// TODO: Verify types
|
// TODO: Verify types
|
||||||
public async prepareKeyBackupVersion(
|
public async prepareKeyBackupVersion(
|
||||||
password: string,
|
password?: string,
|
||||||
opts: IKeyBackupPrepareOpts = { secureSecretStorage: false },
|
opts: IKeyBackupPrepareOpts = { secureSecretStorage: false },
|
||||||
): Promise<Pick<IPreparedKeyBackupVersion, "algorithm" | "auth_data" | "recovery_key">> {
|
): Promise<Pick<IPreparedKeyBackupVersion, "algorithm" | "auth_data" | "recovery_key">> {
|
||||||
if (!this.crypto) {
|
if (!this.crypto) {
|
||||||
|
|||||||
Reference in New Issue
Block a user