From 6ef2548ba0b0e0ae451800a33070994a11a57aa5 Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Tue, 4 Jun 2019 20:54:29 +0300 Subject: [PATCH] fix: fix incorrect return type of collectDefaultMetrics(), should be Timeout in Node --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 8a43efef..95d8b82b 100644 --- a/index.d.ts +++ b/index.d.ts @@ -655,7 +655,7 @@ export interface DefaultMetricsCollectorConfiguration { */ export function collectDefaultMetrics( config?: DefaultMetricsCollectorConfiguration -): number; +): ReturnType; /** * Configure default metrics