diff --git a/experimental/packages/opentelemetry-instrumentation/src/instrumentation.ts b/experimental/packages/opentelemetry-instrumentation/src/instrumentation.ts index 4552f6dfabe..7dc47f15c72 100644 --- a/experimental/packages/opentelemetry-instrumentation/src/instrumentation.ts +++ b/experimental/packages/opentelemetry-instrumentation/src/instrumentation.ts @@ -136,7 +136,7 @@ export abstract class InstrumentationAbstract * Init method in which plugin should define _modules and patches for * methods */ - protected abstract init(): + abstract init(): | InstrumentationModuleDefinition | InstrumentationModuleDefinition[] | void;