Skip to content

Commit

Permalink
fix: types?
Browse files Browse the repository at this point in the history
  • Loading branch information
Netail authored Apr 2, 2024
1 parent 2c6d8cf commit 60e0933
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/opentelemetry-host-metrics/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="systeminformation" />

declare module 'systeminformation/lib/network' {
export function networkStats(ifaces?: string, cb?: (data: Systeminformation.NetworkStatsData[]) => any): Promise<Systeminformation.NetworkStatsData[]>;
}

0 comments on commit 60e0933

Please sign in to comment.