diff --git a/packages/tracing-internal/src/browser/browserTracingIntegration.ts b/packages/tracing-internal/src/browser/browserTracingIntegration.ts index 87169c55c8b5..e0ed5b790b63 100644 --- a/packages/tracing-internal/src/browser/browserTracingIntegration.ts +++ b/packages/tracing-internal/src/browser/browserTracingIntegration.ts @@ -1,7 +1,7 @@ /* eslint-disable max-lines, complexity */ import type { IdleTransaction } from '@sentry/core'; import { getClient } from '@sentry/core'; -import { defineIntegration, getCurrentHub } from '@sentry/core'; +import { getCurrentHub } from '@sentry/core'; import { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, TRACING_DEFAULTS, @@ -151,8 +151,10 @@ const DEFAULT_BROWSER_TRACING_OPTIONS: BrowserTracingOptions = { * * The integration can be configured with a variety of options, and can be extended to use * any routing library. This integration uses {@see IdleTransaction} to create transactions. + * + * We explicitly export the proper type here, as this has to be extended in some cases. */ -export const _browserTracingIntegration = ((_options: Partial = {}) => { +export const browserTracingIntegration = ((_options: Partial = {}) => { const _hasSetTracePropagationTargets = DEBUG_BUILD ? !!( // eslint-disable-next-line deprecation/deprecation @@ -389,8 +391,6 @@ export const _browserTracingIntegration = ((_options: Partial