prettier v3 changes

This commit is contained in:
David Lechner
2023-08-08 08:15:24 -07:00
committed by David Lechner
parent e2c86c82c5
commit 061d22a7aa
5 changed files with 248 additions and 13 deletions
+4 -2
View File
@@ -60,8 +60,10 @@ export type AlertCallback<
* @template D The domain.
* @template S The specific instance name in the domain.
*/
export type AlertActions<D extends AlertDomain, S extends AlertSpecific<D>> =
| Parameters<Parameters<AlertInstance<D, S>>[0]>[0];
export type AlertActions<
D extends AlertDomain,
S extends AlertSpecific<D>,
> = Parameters<Parameters<AlertInstance<D, S>>[0]>[0];
/**
* Gets the type of the properties for a specific instance in the lookup table.
+4 -1
View File
@@ -253,7 +253,10 @@ export class ProtocolError extends Error {
* @param message The error message
* @param value The bytecodes that caused the error
*/
constructor(message: string, public value: DataView) {
constructor(
message: string,
public value: DataView,
) {
super(message);
}
}
+4 -1
View File
@@ -99,7 +99,10 @@ export class ProtocolError extends Error {
* @param message The error message
* @param data The bytecodes that caused the error
*/
constructor(message: string, public data: DataView) {
constructor(
message: string,
public data: DataView,
) {
super(message);
}
}