getsentry / getsentry/sentry-javascript
Please Export Types from @sentry/core in @sentry/react (and similar packages)
Open
Improvement
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 515
Description
### Problem Statement
With v9, `@sentry/types` has been deprecated, with types moving into `@sentry/core`. That being said, the types are not re-exported from `@sentry/core`, so our migration path would be to install `@sentry/core` alongside `@sentry/react` just to use some of those types in our custom integration logic.
### Solution Brainstorm
Please re-export TS interfaces/types [here](https://github.com/getsentry/sentry-javascript/blob/develop/packages/react/src/index.ts#L1)
Contributor guide
Assessment
This issue has not been assessed yet.