We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a03771 commit 89cb0a8Copy full SHA for 89cb0a8
client.d.ts
@@ -45,7 +45,7 @@ declare namespace MetricsClient {
45
* counter.inc(10, { labels: { url: 'https://www.mysite.com' } });
46
*/
47
inc(
48
- value?: number | BaseMetricsOptions,
+ value?: number | Pick<BaseMetricsOptions, 'labels'>,
49
options?: Pick<BaseMetricsOptions, 'labels'>,
50
): void;
51
}
0 commit comments