Review and clean up public API surface types
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- react-native, typescript
Research direction
Start with the public exports in index.ts and the @microsoft/api-extractor report introduced in #6093. Review each listed forgotten-export type and decide whether it belongs in the public API or should be marked @internal, including whether the logger export is intentional. Done means all 36 warnings have an explicit resolution and the API surface reflects those decisions.
Written by the indexing model from the issue text.
Description
Context
With the addition of @microsoft/api-extractor in #6093, we now have visibility into the public API surface. The tool reports 36 ae-forgotten-export warnings — types that appear in public function signatures but are not exported from index.ts.
None of these types are documented in the Sentry docs, and no users have reported needing them. TypeScript's structural typing means consumers can pass plain object literals without importing the types explicitly.
What needs reviewing
For each type, decide whether to export it (make it part of the public API) or mark it @internal (explicitly keep it private).
Options/config types (used as integration/function parameters)
ReactNativeTracingOptions,ReactNativeTracingState,ReactNativeTracingIntegrationReactNavigationIntegrationOptions,ReactNativeNavigationOptionsReactNativeClientOptions,ReactNativeTransportOptions,BaseReactNativeOptions,ReactNativeWrapperOptionsReactNativeErrorHandlersOptions,LinkedErrorsOptions,BreadcrumbsOptionsMobileReplayOptions,MobileReplayIntegrationHermesProfilingOptionsGraphQLReactNativeIntegrationOptions,SpotlightReactNativeIntegrationOptions,SupabaseReactNativeIntegrationOptionsFeedbackFormProps,FeedbackButtonProps,ScreenshotButtonProps,FeedbackFormThemeTouchEventBoundaryPropsAppStartIntegration,defaultIdleOptions
Internal/external types (likely should stay unexported)
FeedbackFormState,FeedbackIntegration,GlobalErrorBoundaryState— internal component stateReplay,ReplayConfiguration—@sentry/browserinternalsHostComponent,ViewProps— react-native typesExpoAssetInstance,ExpoImageSource,ExpoImageLoadOptions,ExpoImageRef— internal Expo types
Additional items to review
loggerfrom@sentry/browseris exported publicly — is this intentional?
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 369
- Avg merge
- 20h 55m
- Merged PRs (30d)
- 105
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/sentry-react-native
-
React-Native Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
getsentry/sentry-react-native#6822 · 1 comment ·
Maintainers usually reply within 1 day
-
Bug React-Native Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsentry/sentry-react-native#6821 · 1 comment ·
Maintainers usually reply within 1 day
-
React-Native Replays Task
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
getsentry/sentry-react-native#6680 · 1 comment ·
Maintainers usually reply within 1 day
-
Improvement React-Native
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getsentry/sentry-react-native#6143 · 2 comments ·
Maintainers usually reply within 1 day
-
React-Native Task User Feedbacks
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
getsentry/sentry-react-native#5932 · 2 comments ·
Maintainers usually reply within 1 day
All issues in getsentry/sentry-react-native
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
betagouv/mon-entreprise#4699 ·
Maintainers usually reply within 3 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
jaegertracing/jaeger-ui#4547 · 3 comments ·
Maintainers usually reply within 1 day
-
ai-driven-qa
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
linagora/twake-calendar-frontend#1467 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
need4deed-org/sdk#267 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
auth0/universal-login#414 ·
Maintainers usually reply within 1 day