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 1
1
import type { IntegrationFn } from '@sentry/core' ;
2
- import * as SentryCore from '@sentry/core' ;
2
+ import { growthbookIntegration as coreGrowthbookIntegration } from '@sentry/core' ;
3
3
import type { GrowthBookClass } from './types' ;
4
4
5
5
/**
@@ -22,7 +22,5 @@ import type { GrowthBookClass } from './types';
22
22
* Sentry.captureException(new Error('something went wrong'));
23
23
* ```
24
24
*/
25
- const _coreAny = SentryCore as unknown as Record < string , any > ;
26
-
27
25
export 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