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
+2 -2
View File
@@ -83,7 +83,7 @@ interface IAppTileProps {
// TODO: Don't use this because it's wrong
export class ElementWidget extends Widget {
constructor(private rawDefinition: IWidget) {
public constructor(private rawDefinition: IWidget) {
super(rawDefinition);
}
@@ -165,7 +165,7 @@ export class StopGapWidget extends EventEmitter {
private readonly virtual: boolean;
private readUpToMap: { [roomId: string]: string } = {}; // room ID to event ID
constructor(private appTileProps: IAppTileProps) {
public constructor(private appTileProps: IAppTileProps) {
super();
this.client = MatrixClientPeg.get();
+1 -1
View File
@@ -77,7 +77,7 @@ export class StopGapWidgetDriver extends WidgetDriver {
private allowedCapabilities: Set<Capability>;
// TODO: Refactor widgetKind into the Widget class
constructor(
public constructor(
allowedCapabilities: Capability[],
private forWidget: Widget,
private forWidgetKind: WidgetKind,