Update src/utils/exportUtils/Exporter.ts

Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
pull/21833/head
Jaiwanth 2021-06-08 18:37:44 +05:30 committed by GitHub
parent 03d8e1f931
commit d80e008d28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import { exportTypes } from "./exportUtils";
export default abstract class Exporter {
protected constructor(protected room: Room, protected exportType: exportTypes, protected numberOfEvents?: number) {}
protected getTimelineConversation = () : MatrixEvent[] => {
protected getTimelineConversation = (): MatrixEvent[] => {
if (!this.room) return;
const cli = MatrixClientPeg.get();