From 801541f372fadfb8b1286fffc27f2fb99cf21f44 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 16 Apr 2024 08:06:51 +0200 Subject: [PATCH] make registry one readonly --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index ed8d9294..99d12677 100644 --- a/index.d.ts +++ b/index.d.ts @@ -81,7 +81,7 @@ export class Registry { /** * Gets the Content-Type of the metrics for use in the response headers. */ - contentType: RegistryContentType; + readonly contentType: RegistryContentType; /** * Set the content type of a registry. Used to change between Prometheus and