Update prettier to 3.3.3

This commit is contained in:
Fedor Indutny 2024-07-23 17:31:40 -07:00 committed by GitHub
parent 1773ad1e11
commit 24a22bf191
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
109 changed files with 452 additions and 392 deletions

View file

@ -113,7 +113,10 @@ export class EnvelopeQueuedEvent extends Event {
export type ConfirmCallback = () => void;
export class ConfirmableEvent extends Event {
constructor(type: string, public readonly confirm: ConfirmCallback) {
constructor(
type: string,
public readonly confirm: ConfirmCallback
) {
super(type);
}
}
@ -205,7 +208,10 @@ export type SentEventData = Readonly<{
}>;
export class SentEvent extends ConfirmableEvent {
constructor(public readonly data: SentEventData, confirm: ConfirmCallback) {
constructor(
public readonly data: SentEventData,
confirm: ConfirmCallback
) {
super('sent', confirm);
}
}