Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Jamie Danielson <[email protected]>
  • Loading branch information
blumamir and JamieDanielson authored Apr 17, 2024
commit fdac3a3897a2da5dcebc38ed480e1c0e5bb653d8
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export interface InstrumentationModuleDefinition {
/** Module name or path */
name: string;

// eslint-disable-next-line @typescript-eslint/no-explicit-any
moduleExports?: any;

/** Instrumented module version */
Expand All @@ -120,8 +121,10 @@ export interface InstrumentationModuleDefinition {
includePrerelease?: boolean;

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

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