Skip to content

Commit

Permalink
Fix export type GeneratedSecretStorageKey (#3479)
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros authored Jun 15, 2023
1 parent 9b5b533 commit 1bae10c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/crypto/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1bae10c

Please sign in to comment.