getsentry / getsentry/sentry-javascript

Please Export Types from @sentry/core in @sentry/react (and similar packages)

Open
#15,649 4 comments 3 reactions 1 assignee Claimed by @Lms24 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.