diff --git a/src/crypto-api/CryptoEventHandlerMap.ts b/src/crypto-api/CryptoEventHandlerMap.ts index b7acb105aad..f6c326dc433 100644 --- a/src/crypto-api/CryptoEventHandlerMap.ts +++ b/src/crypto-api/CryptoEventHandlerMap.ts @@ -29,4 +29,5 @@ export type CryptoEventHandlerMap = { [CryptoEvent.KeysChanged]: (data: {}) => void; [CryptoEvent.WillUpdateDevices]: (users: string[], initialFetch: boolean) => void; [CryptoEvent.DevicesUpdated]: (users: string[], initialFetch: boolean) => void; + [CryptoEvent.LegacyCryptoStoreMigrationProgress]: (progress: number, total: number) => void; } & RustBackupCryptoEventMap; diff --git a/src/crypto/index.ts b/src/crypto/index.ts index 8cb04dd5e03..acbb4e318db 100644 --- a/src/crypto/index.ts +++ b/src/crypto/index.ts @@ -326,8 +326,6 @@ export type CryptoEventHandlerMap = CryptoApiCryptoEventHandlerMap & { */ [CryptoEvent.Warning]: (type: string) => void; [CryptoEvent.UserCrossSigningUpdated]: (userId: string) => void; - - [CryptoEvent.LegacyCryptoStoreMigrationProgress]: (progress: number, total: number) => void; }; export class Crypto extends TypedEventEmitter implements CryptoBackend {