diff --git a/plugins/web/opentelemetry-instrumentation-user-interaction/src/instrumentation.ts b/plugins/web/opentelemetry-instrumentation-user-interaction/src/instrumentation.ts index c1b7ff4cad..6216be899a 100644 --- a/plugins/web/opentelemetry-instrumentation-user-interaction/src/instrumentation.ts +++ b/plugins/web/opentelemetry-instrumentation-user-interaction/src/instrumentation.ts @@ -575,7 +575,7 @@ export class UserInteractionInstrumentation extends InstrumentationBase { }); sandbox - .stub(userInteractionInstrumentation, 'getZoneWithPrototype') + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore this is private, but it exists + .stub(userInteractionInstrumentation, '_getZoneWithPrototype') .callsFake(() => { return false as any; });