Skip to content

Commit

Permalink
Add getMetricsAsArray to index.d.ts (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
CubeKap authored and SimenB committed Aug 15, 2018
1 parent f651c41 commit 8d792aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
Expand Up @@ -41,6 +41,11 @@ export class Registry {
*/
getMetricsAsJSON(): metric[];

/**
* Get all metrics as objects
*/
getMetricsAsArray(): metric[];

/**
* Remove a single metric
* @param name The name of the metric to remove
Expand Down

0 comments on commit 8d792aa

Please sign in to comment.