diff --git a/src/crypto/api.ts b/src/crypto/api.ts index c676389099d..cb0f71631ad 100644 --- a/src/crypto/api.ts +++ b/src/crypto/api.ts @@ -19,7 +19,9 @@ import { IKeyBackupInfo } from "./keybackup"; import { GeneratedSecretStorageKey } from "../crypto-api"; /* re-exports for backwards compatibility. */ -export { CrossSigningKey, GeneratedSecretStorageKey as IRecoveryKey } from "../crypto-api"; +// CrossSigningKey is used as a value in `client.ts`, we can't export it as a type +export { CrossSigningKey } from "../crypto-api"; +export type { GeneratedSecretStorageKey as IRecoveryKey } from "../crypto-api"; export type { ImportRoomKeyProgressData as IImportOpts,