diff --git a/index.d.ts b/index.d.ts index f4326be8..ed85fc71 100644 --- a/index.d.ts +++ b/index.d.ts @@ -83,14 +83,16 @@ export class Registry< /** * Gets the Content-Type of the metrics for use in the response headers. */ - readonly contentType: BoundRegistryContentType; + 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: BoundRegistryContentType): void; + setContentType( + contentType: PrometheusContentType | OpenMetricsContentType, + ): void; /** * Merge registers