Fix types
This commit is contained in:
parent
b2162c3be9
commit
5fff64f128
2 changed files with 2 additions and 3 deletions
|
@ -79,8 +79,7 @@ export default class HTMLExporter extends Exporter {
|
||||||
const creatorName = this.room?.getMember(creator)?.rawDisplayName || creator;
|
const creatorName = this.room?.getMember(creator)?.rawDisplayName || creator;
|
||||||
const exporter = this.matrixClient.getUserId();
|
const exporter = this.matrixClient.getUserId();
|
||||||
const exporterName = this.room?.getMember(exporter)?.rawDisplayName;
|
const exporterName = this.room?.getMember(exporter)?.rawDisplayName;
|
||||||
const topic = this.room.currentState.getStateEvents(EventType.RoomTopic, "")?.getContent()?.topic
|
const topic = this.room.currentState.getStateEvents(EventType.RoomTopic, "")?.getContent()?.topic || "";
|
||||||
|| this.room.topic || "";
|
|
||||||
const createdText = _t("%(creatorName)s created this room.", {
|
const createdText = _t("%(creatorName)s created this room.", {
|
||||||
creatorName,
|
creatorName,
|
||||||
});
|
});
|
||||||
|
|
|
@ -1486,7 +1486,7 @@
|
||||||
resolved "https://registry.yarnpkg.com/@types/counterpart/-/counterpart-0.18.1.tgz#b1b784d9e54d9879f0a8cb12f2caedab65430fe8"
|
resolved "https://registry.yarnpkg.com/@types/counterpart/-/counterpart-0.18.1.tgz#b1b784d9e54d9879f0a8cb12f2caedab65430fe8"
|
||||||
integrity sha512-PRuFlBBkvdDOtxlIASzTmkEFar+S66Ek48NVVTWMUjtJAdn5vyMSN8y6IZIoIymGpR36q2nZbIYazBWyFxL+IQ==
|
integrity sha512-PRuFlBBkvdDOtxlIASzTmkEFar+S66Ek48NVVTWMUjtJAdn5vyMSN8y6IZIoIymGpR36q2nZbIYazBWyFxL+IQ==
|
||||||
|
|
||||||
"@types/diff-match-patch@^1.0.32":
|
"@types/diff-match-patch@^1.0.5":
|
||||||
version "1.0.32"
|
version "1.0.32"
|
||||||
resolved "https://registry.yarnpkg.com/@types/diff-match-patch/-/diff-match-patch-1.0.32.tgz#d9c3b8c914aa8229485351db4865328337a3d09f"
|
resolved "https://registry.yarnpkg.com/@types/diff-match-patch/-/diff-match-patch-1.0.32.tgz#d9c3b8c914aa8229485351db4865328337a3d09f"
|
||||||
integrity sha512-bPYT5ECFiblzsVzyURaNhljBH2Gh1t9LowgUwciMrNAhFewLkHT2H0Mto07Y4/3KCOGZHRQll3CTtQZ0X11D/A==
|
integrity sha512-bPYT5ECFiblzsVzyURaNhljBH2Gh1t9LowgUwciMrNAhFewLkHT2H0Mto07Y4/3KCOGZHRQll3CTtQZ0X11D/A==
|
||||||
|
|
Loading…
Reference in a new issue