From 63cc39d95682cdc9e9cfa8f915ea2fd3158112f5 Mon Sep 17 00:00:00 2001 From: Maikel Date: Tue, 9 Apr 2024 11:32:45 +0200 Subject: [PATCH] fix: small type improvement --- packages/opentelemetry-host-metrics/global.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/opentelemetry-host-metrics/global.d.ts b/packages/opentelemetry-host-metrics/global.d.ts index 9943ad2931..f7a9a601f0 100644 --- a/packages/opentelemetry-host-metrics/global.d.ts +++ b/packages/opentelemetry-host-metrics/global.d.ts @@ -1,5 +1,3 @@ declare module 'systeminformation/lib/network' { - import type { Systeminformation } from 'systeminformation'; - - export function networkStats(ifaces?: string, cb?: (data: Systeminformation.NetworkStatsData[]) => any): Promise; + export { networkStats } from 'systeminformation'; }