Skip to content

Commit 9a20e15

Browse files
authored
fix(instrumentation-undici): Fix RequestType (open-telemetry#2503)
1 parent 7633cae commit 9a20e15

File tree

1 file changed

+1
-1
lines changed
  • plugins/node/instrumentation-undici/src

1 file changed

+1
-1
lines changed

plugins/node/instrumentation-undici/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface RequestHookFunction<T = UndiciRequest> {
5353
}
5454

5555
export interface ResponseHookFunction<
56-
RequestType = UndiciResponse,
56+
RequestType = UndiciRequest,
5757
ResponseType = UndiciResponse
5858
> {
5959
(span: Span, info: { request: RequestType; response: ResponseType }): void;

0 commit comments

Comments
 (0)