We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05e5c3b commit 3ad3f3fCopy full SHA for 3ad3f3f
CHANGELOG.md
@@ -11,6 +11,8 @@ project adheres to [Semantic Versioning](http://semver.org/).
11
12
### Changed
13
14
+- types: fixed type for `registry.getMetricsAsArray()`
15
+
16
- changed: typedef for pushgateway to reflect js implementation.
17
18
Pushgateway's typedef were missing promise return type. That was
index.d.ts
@@ -34,7 +34,7 @@ export class Registry {
34
/**
35
* Get all metrics as objects
36
*/
37
- getMetricsAsArray(): Promise<metric[]>;
+ getMetricsAsArray(): metric[];
38
39
40
* Remove a single metric
0 commit comments