Skip to content

Commit

Permalink
use the same triple-slash-ref to solve a similar testing issue with h…
Browse files Browse the repository at this point in the history
…ost-metrics package; use eslint disable comment to avoid complaint about using those triple-slash-refs
  • Loading branch information
trentm committed Oct 15, 2024
1 parent 4059e8d commit c993c34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/opentelemetry-host-metrics/test/metric.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* limitations under the License.
*/

/* eslint-disable-next-line @typescript-eslint/triple-slash-reference */
/// <reference path="../global.d.ts" />

import * as Network from 'systeminformation/lib/network';
import type { Systeminformation } from 'systeminformation';
import { Attributes } from '@opentelemetry/api';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* limitations under the License.
*/

/* eslint-disable-next-line @typescript-eslint/triple-slash-reference */
/// <reference path="../src/router.d.ts" />

import { context, trace } from '@opentelemetry/api';
Expand Down

0 comments on commit c993c34

Please sign in to comment.