From ab1ff75a963e331349289643f8556bc92120d22e Mon Sep 17 00:00:00 2001 From: Gerhard Stoebich <18708370+Flarna@users.noreply.github.com> Date: Sun, 17 Nov 2019 19:34:33 +0100 Subject: [PATCH] fix(plugin-http): adapt to current @types/node --- packages/opentelemetry-plugin-http/test/utils/assertSpan.ts | 2 +- packages/opentelemetry-plugin-https/test/utils/assertSpan.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts b/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts index 9a222f48f49..eccf35bc7a8 100644 --- a/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts +++ b/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts @@ -33,7 +33,7 @@ export const assertSpan = ( hostname: string; pathname: string; reqHeaders?: http.OutgoingHttpHeaders; - path?: string; + path?: string | null; forceStatus?: Status; component: string; } diff --git a/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts b/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts index f89aa5b5b63..639a16d989b 100644 --- a/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts +++ b/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts @@ -35,7 +35,7 @@ export const assertSpan = ( hostname: string; pathname: string; reqHeaders?: http.OutgoingHttpHeaders; - path?: string; + path?: string | null; component: string; } ) => {