Update dependency prettier to v3 (#12095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
773b03e15e
commit
a0c8575113
110 changed files with 449 additions and 313 deletions
|
@ -36,7 +36,10 @@ export class Media {
|
|||
private client: MatrixClient;
|
||||
|
||||
// Per above, this constructor signature can be whatever is helpful for you.
|
||||
public constructor(private prepared: IPreparedMedia, client?: MatrixClient) {
|
||||
public constructor(
|
||||
private prepared: IPreparedMedia,
|
||||
client?: MatrixClient,
|
||||
) {
|
||||
this.client = client ?? MatrixClientPeg.safeGet();
|
||||
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