diff --git a/src/promjs/registry.ts b/src/promjs/registry.ts index 73eab34..27dcce6 100644 --- a/src/promjs/registry.ts +++ b/src/promjs/registry.ts @@ -10,10 +10,10 @@ import { formatCounterOrGauge, formatHistogramOrSummary } from './utils'; type CollectorForType = Type extends 'histogram' ? Histogram : Type extends 'gauge' - ? Gauge - : Type extends 'counter' - ? Counter - : never; + ? Gauge + : Type extends 'counter' + ? Counter + : never; interface RegistryItem { [key: string]: {