From 9a20e15547669450987b2bb7cab193f17e04ebb7 Mon Sep 17 00:00:00 2001 From: Mikko Reinikainen Date: Mon, 28 Oct 2024 19:21:11 +0200 Subject: [PATCH] fix(instrumentation-undici): Fix RequestType (#2503) --- plugins/node/instrumentation-undici/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/node/instrumentation-undici/src/types.ts b/plugins/node/instrumentation-undici/src/types.ts index f26ec117dc..0b56998e6b 100644 --- a/plugins/node/instrumentation-undici/src/types.ts +++ b/plugins/node/instrumentation-undici/src/types.ts @@ -53,7 +53,7 @@ export interface RequestHookFunction { } export interface ResponseHookFunction< - RequestType = UndiciResponse, + RequestType = UndiciRequest, ResponseType = UndiciResponse > { (span: Span, info: { request: RequestType; response: ResponseType }): void;