Skip to content

Commit 3c49dda

Browse files
committed
Fix types
1 parent 8be7d99 commit 3c49dda

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/core/src/featureFlags.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export type FeatureFlag = { readonly flag: string; readonly result: boolean };

packages/core/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,5 @@ export { getCurrentHubShim, getCurrentHub } from './getCurrentHubShim';
124124
export * from './utils-hoist/index';
125125
// TODO(v9): Make this structure pretty again and don't do "export *"
126126
export * from './types-hoist/index';
127+
128+
export type { FeatureFlag } from './featureFlags';

packages/types/src/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ import type {
5454
Extra as Extra_imported,
5555
ExtractedNodeRequestData as ExtractedNodeRequestData_imported,
5656
Extras as Extras_imported,
57+
FeatureFlag as FeatureFlag_imported,
5758
FeedbackEvent as FeedbackEvent_imported,
5859
FeedbackFormData as FeedbackFormData_imported,
5960
FeedbackInternalOptions as FeedbackInternalOptions_imported,
@@ -568,5 +569,5 @@ export type Profiler = Profiler_imported;
568569
export type ViewHierarchyData = ViewHierarchyData_imported;
569570
/** @deprecated This type has been moved to `@sentry/core`. */
570571
export type ViewHierarchyWindow = ViewHierarchyWindow_imported;
571-
572-
export type { FeatureFlag } from './featureFlags';
572+
/** @deprecated This type has been moved to `@sentry/core`. */
573+
export type FeatureFlag = FeatureFlag_imported;

0 commit comments

Comments
 (0)