File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/browser/src/integrations/featureFlags/growthbook Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11import type { IntegrationFn } from '@sentry/core' ;
2- import * as SentryCore from '@sentry/core' ;
2+ import { growthbookIntegration as coreGrowthbookIntegration } from '@sentry/core' ;
33import type { GrowthBookClass } from './types' ;
44
55/**
@@ -22,7 +22,5 @@ import type { GrowthBookClass } from './types';
2222 * Sentry.captureException(new Error('something went wrong'));
2323 * ```
2424 */
25- const _coreAny = SentryCore as unknown as Record < string , any > ;
26-
2725export const growthbookIntegration = ( ( { growthbookClass } : { growthbookClass : GrowthBookClass } ) =>
28- _coreAny . growthbookIntegration ( { growthbookClass } ) ) satisfies IntegrationFn ;
26+ coreGrowthbookIntegration ( { growthbookClass } ) ) satisfies IntegrationFn ;
You can’t perform that action at this time.
0 commit comments