Skip to content

Commit

Permalink
extend
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Apr 29, 2024
1 parent d36dc3b commit 9d80a6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export type RegistryContentType =
/**
* Container for all registered metrics
*/
export class Registry<BoundRegistryContentType = PrometheusContentType> {
export class Registry<
BoundRegistryContentType extends RegistryContentType = PrometheusContentType,
> {
/**
* Get string representation for all metrics
*/
Expand Down

0 comments on commit 9d80a6c

Please sign in to comment.