Skip to content

Commit 9d80a6c

Browse files
committed
extend
1 parent d36dc3b commit 9d80a6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.d.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ export type RegistryContentType =
2121
/**
2222
* Container for all registered metrics
2323
*/
24-
export class Registry<BoundRegistryContentType = PrometheusContentType> {
24+
export class Registry<
25+
BoundRegistryContentType extends RegistryContentType = PrometheusContentType,
26+
> {
2527
/**
2628
* Get string representation for all metrics
2729
*/

0 commit comments

Comments
 (0)