Add an abstract exporter base class
This commit is contained in:
parent
1ee6e42e27
commit
136b6db047
2 changed files with 10 additions and 7 deletions
7
src/utils/exportUtils/Exporter.ts
Normal file
7
src/utils/exportUtils/Exporter.ts
Normal 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>
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue