Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Don't depend on browser types in types #9682

Merged
merged 4 commits into from
Nov 28, 2023
Merged

fix: Don't depend on browser types in types #9682

merged 4 commits into from
Nov 28, 2023

Conversation

lforst
Copy link
Member

@lforst lforst commented Nov 28, 2023

This is a hotfix for #9679.

We leaked Browser/React types into the generic @sentry/types package which should not have any runtime specific types.

cc @mydea if you want to clean this up again at some point

@lforst lforst requested review from Lms24 and AbhiPrasad November 28, 2023 09:24
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get this in to unblock folks

@mydea
Copy link
Member

mydea commented Nov 28, 2023

Huh, I did not know that Event is browser specific 😭 I'll look into it a bit more next week. Also plus 1 to moving some/most of these to the browser package!

@Lms24 Lms24 merged commit 98d4988 into develop Nov 28, 2023
87 checks passed
@Lms24 Lms24 deleted the lforst-fix-types branch November 28, 2023 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants