1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Convert http-api to Typescript (#2063)

This commit is contained in:
Michael Telatynski
2021-12-14 15:34:50 +00:00
committed by GitHub
parent 963c7690b6
commit feb83ba161
15 changed files with 559 additions and 431 deletions

View File

@@ -186,7 +186,6 @@ export class BackupManager {
public async prepareKeyBackupVersion(
key?: string | Uint8Array | null,
algorithm?: string | undefined,
// eslint-disable-next-line camelcase
): Promise<IPreparedKeyBackupVersion> {
const Algorithm = algorithm ? algorithmsByName[algorithm] : DefaultAlgorithm;
if (!Algorithm) {