Enable @typescript-eslint/explicit-member-accessibility
on /src (#9785)
* Enable `@typescript-eslint/explicit-member-accessibility` on /src * Prettier
This commit is contained in:
parent
51554399fb
commit
f1e8e7f140
396 changed files with 1110 additions and 1098 deletions
|
@ -36,7 +36,7 @@ export class Media {
|
|||
private client: MatrixClient;
|
||||
|
||||
// Per above, this constructor signature can be whatever is helpful for you.
|
||||
constructor(private prepared: IPreparedMedia, client?: MatrixClient) {
|
||||
public constructor(private prepared: IPreparedMedia, client?: MatrixClient) {
|
||||
this.client = client ?? MatrixClientPeg.get();
|
||||
if (!this.client) {
|
||||
throw new Error("No possible MatrixClient for media resolution. Please provide one or log in.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue