Fix re-exports for SAS.ts (#3405)
These three are only types, not objects we can export. Fixes warnings in EW (and probably some build failures for someone somewhere): ``` 2023-05-24 11:27:28.294 [element-js] WARNING in ../matrix-js-sdk/src/crypto/verification/SAS.ts 31:0-123 2023-05-24 11:27:28.294 [element-js] "export 'EmojiMapping' was not found in '../../crypto-api/verification' 2023-05-24 11:27:28.294 [element-js] 2023-05-24 11:27:28.294 [element-js] WARNING in ../matrix-js-sdk/src/crypto/verification/SAS.ts 31:0-123 2023-05-24 11:27:28.294 [element-js] "export 'GeneratedSas' (reexported as 'IGeneratedSas') was not found in '../../crypto-api/verification' 2023-05-24 11:27:28.294 [element-js] 2023-05-24 11:27:28.294 [element-js] WARNING in ../matrix-js-sdk/src/crypto/verification/SAS.ts 31:0-123 2023-05-24 11:27:28.294 [element-js] "export 'ShowSasCallbacks' (reexported as 'ISasEvent') was not found in '../../crypto-api/verification' ```
This commit is contained in:
committed by
GitHub
parent
ed71cdeccd
commit
d7bcdff29b
@@ -36,7 +36,7 @@ import { EventType } from "../../@types/event";
|
||||
import { EmojiMapping, GeneratedSas, ShowSasCallbacks, VerifierEvent } from "../../crypto-api/verification";
|
||||
|
||||
// backwards-compatibility exports
|
||||
export {
|
||||
export type {
|
||||
ShowSasCallbacks as ISasEvent,
|
||||
GeneratedSas as IGeneratedSas,
|
||||
EmojiMapping,
|
||||
|
||||
Reference in New Issue
Block a user