Open zigazajc007 opened 7 months ago
Is this everything that is needed or do I still need to write a Changelog?
I messed around with the lint error in #630, and I might've accidentally fixed this? Could you check? If still broken, this needs a quick rebase 🙂
Tried method in https://github.com/siimon/prom-client/pull/630 but it doesn't work.
I'm using typescript from Bun.
Fair - mind rebasing? 🙂
Related to issue https://github.com/siimon/prom-client/issues/614
As
PrometheusContentType
is assigned toRegistryContentType
, the typescript will automatically excludeOpenMetricsContentType
fromRegistryContentType
inRegistry
. So to solve this issue, we can just manually tell typescript that provided value can bePrometheusContentType
orOpenMetricsContentType
.