diff --git a/src/utils/exportUtils/Exporter.ts b/src/utils/exportUtils/Exporter.ts index a4e14153c1..c782cc5a63 100644 --- a/src/utils/exportUtils/Exporter.ts +++ b/src/utils/exportUtils/Exporter.ts @@ -1,7 +1,7 @@ import { MatrixEvent } from "matrix-js-sdk/src/models/event"; -import Room from 'matrix-js-sdk/src/models/room'; +import { Room } from "matrix-js-sdk/src/models/room"; export abstract class Exporter { constructor(protected res: MatrixEvent[], protected room: Room) {} - abstract export(): Promise + abstract export(): Promise; } diff --git a/src/utils/exportUtils/HtmlExport.ts b/src/utils/exportUtils/HtmlExport.ts index 737a7736b4..90b65a8e2b 100644 --- a/src/utils/exportUtils/HtmlExport.ts +++ b/src/utils/exportUtils/HtmlExport.ts @@ -511,6 +511,8 @@ public async export() { await waiter; } writer.close(); + + return blob; } }