From 9a2d984d6aa380ee7d3446b169f5e0403b100c39 Mon Sep 17 00:00:00 2001 From: Ziga Zajc Date: Mon, 29 Apr 2024 10:37:11 +0200 Subject: [PATCH] Update index.d.ts --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 7b3307f7..5ba6c506 100644 --- a/index.d.ts +++ b/index.d.ts @@ -81,14 +81,14 @@ export class Registry { /** * Gets the Content-Type of the metrics for use in the response headers. */ - readonly contentType: RegistryContentType; + readonly contentType: PrometheusContentType | OpenMetricsContentType; /** * Set the content type of a registry. Used to change between Prometheus and * OpenMetrics versions. * @param contentType The type of the registry */ - setContentType(contentType: RegistryContentType): void; + setContentType(contentType: PrometheusContentType | OpenMetricsContentType): void; /** * Merge registers