Skip to content

Commit 8a7feb2

Browse files
committed
Format files to appease biome
1 parent dd76977 commit 8a7feb2

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

packages/autometrics/src/temporaryMeter.ts

+12-3
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,10 @@ class TemporaryCounter<AttributesTypes extends Attributes = Attributes>
293293
> = [];
294294
private _counter: Counter<AttributesTypes> | undefined;
295295

296-
constructor(public name: string, public options?: MetricOptions) {}
296+
constructor(
297+
public name: string,
298+
public options?: MetricOptions,
299+
) {}
297300

298301
add(value: number, attributes?: AttributesTypes, context?: Context): void {
299302
if (this._counter) {
@@ -321,7 +324,10 @@ class TemporaryHistogram<AttributesTypes extends Attributes = Attributes>
321324
[number, AttributesTypes | undefined, Context | undefined]
322325
> = [];
323326

324-
constructor(public name: string, public options?: MetricOptions) {}
327+
constructor(
328+
public name: string,
329+
public options?: MetricOptions,
330+
) {}
325331

326332
record(value: number, attributes?: AttributesTypes, context?: Context): void {
327333
if (this._histogram) {
@@ -350,7 +356,10 @@ class TemporaryObservable<AttributesTypes extends Attributes = Attributes>
350356
private _listeners: Array<ObservableCallback<AttributesTypes>> = [];
351357
private _observable: Observable<AttributesTypes> | undefined;
352358

353-
constructor(public name: string, public options?: MetricOptions) {}
359+
constructor(
360+
public name: string,
361+
public options?: MetricOptions,
362+
) {}
354363

355364
addCallback(callback: ObservableCallback<AttributesTypes>): void {
356365
if (this._observable) {

0 commit comments

Comments
 (0)