Skip to content

Commit cf6992f

Browse files
committed
Update deprecated type imports to use core
1 parent 0a0299e commit cf6992f

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

packages/browser/src/integrations/featureFlags/launchdarkly/integration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Client, Event, EventHint, IntegrationFn } from '@sentry/types';
1+
import type { Client, Event, EventHint, IntegrationFn } from '@sentry/core';
22
import type { LDContext, LDEvaluationDetail, LDInspectionFlagUsedHandler } from './types';
33

44
import { defineIntegration } from '@sentry/core';

packages/browser/src/integrations/featureFlags/openfeature/integration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Add the integration hook to your OpenFeature object.
66
* - OpenFeature.getClient().addHooks(new OpenFeatureIntegrationHook());
77
*/
8-
import type { Client, Event, EventHint, IntegrationFn } from '@sentry/types';
8+
import type { Client, Event, EventHint, IntegrationFn } from '@sentry/core';
99
import type { EvaluationDetails, HookContext, HookHints, JsonValue, OpenFeatureHook } from './types';
1010

1111
import { defineIntegration } from '@sentry/core';

packages/browser/src/utils/featureFlags.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
import type { Event, FeatureFlag } from '@sentry/core';
2+
13
import { getCurrentScope, logger } from '@sentry/core';
2-
import type { Event, FeatureFlag } from '@sentry/types';
34
import { DEBUG_BUILD } from '../debug-build';
45

56
/**

packages/browser/test/utils/featureFlags.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { getCurrentScope } from '@sentry/core';
2-
import type { FeatureFlag } from '@sentry/types';
3-
import { logger } from '@sentry/utils';
1+
import type { FeatureFlag } from '@sentry/core';
2+
3+
import { getCurrentScope, logger } from '@sentry/core';
44
import { vi } from 'vitest';
55
import { insertFlagToScope, insertToFlagBuffer } from '../../src/utils/featureFlags';
66

0 commit comments

Comments
 (0)