Skip to content

Commit dcc5742

Browse files
authored
ref(flags): don't export FeatureFlagContext in types-hoist/context.ts (#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.
1 parent d32bf15 commit dcc5742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/types-hoist/context.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,6 @@ export interface MissingInstrumentationContext extends Record<string, unknown> {
133133
* directly is not recommended. Use the functions in @sentry/browser
134134
* src/utils/featureFlags instead.
135135
*/
136-
export interface FeatureFlagContext extends Record<string, unknown> {
136+
interface FeatureFlagContext extends Record<string, unknown> {
137137
values: FeatureFlag[];
138138
}

0 commit comments

Comments
 (0)