Add an abstract exporter base class

This commit is contained in:
Jaiwanth 2021-05-24 20:48:13 +05:30
parent 1ee6e42e27
commit 136b6db047
2 changed files with 10 additions and 7 deletions

View file

@ -0,0 +1,7 @@
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
import Room from 'matrix-js-sdk/src/models/room';
export abstract class Exporter {
constructor(protected res: MatrixEvent[], protected room: Room) {}
abstract export(): Promise<void>
}