getsentry / getsentry/sentry-javascript

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

未关闭
#15,649 4 条评论 3 个 reaction 已指派 1 人 已被 @Lms24 认领 在 GitHub 查看
Improvement
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

### 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)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。