Skip to content

Commit 858061a

Browse files
committed
Fix export type GeneratedSecretStorageKey
1 parent c425945 commit 858061a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/crypto/api.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ import { IKeyBackupInfo } from "./keybackup";
1919
import { GeneratedSecretStorageKey } from "../crypto-api";
2020

2121
/* re-exports for backwards compatibility. */
22-
export { CrossSigningKey, GeneratedSecretStorageKey as IRecoveryKey } from "../crypto-api";
22+
// CrossSigningKey is used as a value in `client.ts`, we can't export it as a type
23+
export { CrossSigningKey } from "../crypto-api";
24+
export type { GeneratedSecretStorageKey as IRecoveryKey } from "../crypto-api";
2325

2426
export type {
2527
ImportRoomKeyProgressData as IImportOpts,

0 commit comments

Comments
 (0)