Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-fernandez committed Dec 11, 2024
1 parent 9e36542 commit e7f5d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/support/tracer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function wrap(method: any) {
return tracer.trace(
"fetch",
{ type: "http", resource: request.getUrl() },
(span: any, callback?: (error?: Error) => string) => {
(span: any, callback?: (error?: Error) => void) => {
const carrier: { [name: string]: string } = {};
tracer.inject(span, HTTP_HEADERS, carrier);
for (const name in carrier) {
Expand Down

0 comments on commit e7f5d97

Please sign in to comment.