| 195 | type CollectFunction<T> = (this: T) => void | Promise<void>; |
| 196 | |
| 197 | interface MetricObject { |
| 198 | name: string; |
| 199 | help: string; |
| 200 | type: MetricType; |
| 201 | aggregator: Aggregator; |
| 202 | collect: CollectFunction<any>; |
| 203 | } |
| 204 | |
| 205 | interface MetricObjectWithValues<T extends MetricValue<string>> |
| 206 | extends MetricObject { |
nothing calls this directly
no outgoing calls
no test coverage detected