Enable @typescript-eslint/explicit-member-accessibility on /src (#9785)

* Enable `@typescript-eslint/explicit-member-accessibility` on /src

* Prettier
This commit is contained in:
Michael Telatynski
2022-12-16 12:29:59 +00:00
committed by GitHub
parent 51554399fb
commit f1e8e7f140
396 changed files with 1110 additions and 1098 deletions

View File

@@ -287,5 +287,5 @@ export default abstract class Exporter {
return mxEv.getType() === attachmentTypes[0] || attachmentTypes.includes(mxEv.getContent().msgtype);
}
abstract export(): Promise<void>;
public abstract export(): Promise<void>;
}

View File

@@ -49,7 +49,7 @@ export default class HTMLExporter extends Exporter {
protected mediaOmitText: string;
private threadsEnabled: boolean;
constructor(
public constructor(
room: Room,
exportType: ExportType,
exportOptions: IExportOptions,

View File

@@ -29,7 +29,7 @@ export default class JSONExporter extends Exporter {
protected totalSize = 0;
protected messages: Record<string, any>[] = [];
constructor(
public constructor(
room: Room,
exportType: ExportType,
exportOptions: IExportOptions,

View File

@@ -29,7 +29,7 @@ export default class PlainTextExporter extends Exporter {
protected totalSize: number;
protected mediaOmitText: string;
constructor(
public constructor(
room: Room,
exportType: ExportType,
exportOptions: IExportOptions,