Skip to content

Commit ab1ff75

Browse files
committed
fix(plugin-http): adapt to current @types/node
1 parent d80cf56 commit ab1ff75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/opentelemetry-plugin-http/test/utils/assertSpan.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const assertSpan = (
3333
hostname: string;
3434
pathname: string;
3535
reqHeaders?: http.OutgoingHttpHeaders;
36-
path?: string;
36+
path?: string | null;
3737
forceStatus?: Status;
3838
component: string;
3939
}

packages/opentelemetry-plugin-https/test/utils/assertSpan.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const assertSpan = (
3535
hostname: string;
3636
pathname: string;
3737
reqHeaders?: http.OutgoingHttpHeaders;
38-
path?: string;
38+
path?: string | null;
3939
component: string;
4040
}
4141
) => {

0 commit comments

Comments
 (0)