Enable @typescript-eslint/explicit-member-accessibility on /src (#9785)
* Enable `@typescript-eslint/explicit-member-accessibility` on /src * Prettier
This commit is contained in:
committed by
GitHub
parent
51554399fb
commit
f1e8e7f140
@@ -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>;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user