getsentry / getsentry/sentry-javascript

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

Ouverte
#15,649 4 commentaires 3 réactions 1 personne assignée Réclamée par @Lms24 Voir sur GitHub
Improvement
Langage dominant
TypeScript
Étoiles
8.7k
Forks
1.8k
Merge moyen
1 j 17 h
PR mergées (30 j)
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)

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.