Skip to content

Commit d2812d2

Browse files
authored
refactor(instrumentation): fix eslint warnings (#5389)
1 parent e966dc5 commit d2812d2

File tree

1 file changed

+4
-7
lines changed
  • experimental/packages/opentelemetry-instrumentation/src

1 file changed

+4
-7
lines changed

experimental/packages/opentelemetry-instrumentation/src/types.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,12 @@ export interface InstrumentationModuleDefinition {
135135
includePrerelease?: boolean;
136136

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

143141
/** Method to unpatch the instrumentation */
144-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
145-
unpatch?:
146-
| ((moduleExports: any, moduleVersion?: string | undefined) => void)
142+
unpatch?: // eslint-disable-next-line @typescript-eslint/no-explicit-any
143+
| ((moduleExports: any, moduleVersion?: string | undefined) => void)
147144
| undefined;
148145
}
149146

0 commit comments

Comments
 (0)