Skip to content

Commit

Permalink
refactor(instrumentation): fix eslint warnings (#5389)
Browse files Browse the repository at this point in the history
  • Loading branch information
chancancode authored Jan 29, 2025
1 parent e966dc5 commit d2812d2
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions experimental/packages/opentelemetry-instrumentation/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,12 @@ export interface InstrumentationModuleDefinition {
includePrerelease?: boolean;

/** Method to patch the instrumentation */
// eslint-disable-next-line @typescript-eslint/no-explicit-any
patch?:
| ((moduleExports: any, moduleVersion?: string | undefined) => any)
| undefined;
patch?: // eslint-disable-next-line @typescript-eslint/no-explicit-any
((moduleExports: any, moduleVersion?: string | undefined) => any) | undefined;

/** Method to unpatch the instrumentation */
// eslint-disable-next-line @typescript-eslint/no-explicit-any
unpatch?:
| ((moduleExports: any, moduleVersion?: string | undefined) => void)
unpatch?: // eslint-disable-next-line @typescript-eslint/no-explicit-any
| ((moduleExports: any, moduleVersion?: string | undefined) => void)
| undefined;
}

Expand Down

0 comments on commit d2812d2

Please sign in to comment.