getsentry / getsentry/sentry-javascript

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

Abierto
#15,649 4 comentarios 3 reacciones 1 asignado Reclamado por @Lms24 Ver en GitHub
Improvement
Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
1.8k
Merge medio
1 d 17 h
PR fusionados (30 d)
515

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.