Skip to content

Commit

Permalink
ref(flags): don't export FeatureFlagContext in types-hoist/context.ts (
Browse files Browse the repository at this point in the history
…#14741)

This isn't exported in types-hoist/index, but we found users can still
import it from a `build/` file. Discussed with @billyvg we don't want
users to accidentally import it this way.

Note we currently use this type in sentry, until
getsentry/sentry#81954 is rolled out.
  • Loading branch information
aliu39 authored Dec 16, 2024
1 parent d32bf15 commit dcc5742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/types-hoist/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,6 @@ export interface MissingInstrumentationContext extends Record<string, unknown> {
* directly is not recommended. Use the functions in @sentry/browser
* src/utils/featureFlags instead.
*/
export interface FeatureFlagContext extends Record<string, unknown> {
interface FeatureFlagContext extends Record<string, unknown> {
values: FeatureFlag[];
}

0 comments on commit dcc5742

Please sign in to comment.