From 60e093310a8015c37936747544f3432a78893a98 Mon Sep 17 00:00:00 2001 From: Maikel Date: Tue, 2 Apr 2024 16:08:38 +0200 Subject: [PATCH] fix: types? --- packages/opentelemetry-host-metrics/global.d.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 packages/opentelemetry-host-metrics/global.d.ts diff --git a/packages/opentelemetry-host-metrics/global.d.ts b/packages/opentelemetry-host-metrics/global.d.ts new file mode 100644 index 0000000000..cbeb743549 --- /dev/null +++ b/packages/opentelemetry-host-metrics/global.d.ts @@ -0,0 +1,5 @@ +/// + +declare module 'systeminformation/lib/network' { + export function networkStats(ifaces?: string, cb?: (data: Systeminformation.NetworkStatsData[]) => any): Promise; +} \ No newline at end of file