Skip to content

Commit

Permalink
fix(instrumentation-undici): Fix RequestType (#2503)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinik authored Oct 28, 2024
1 parent 7633cae commit 9a20e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-undici/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface RequestHookFunction<T = UndiciRequest> {
}

export interface ResponseHookFunction<
RequestType = UndiciResponse,
RequestType = UndiciRequest,
ResponseType = UndiciResponse
> {
(span: Span, info: { request: RequestType; response: ResponseType }): void;
Expand Down

0 comments on commit 9a20e15

Please sign in to comment.