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(integrations): Remove erroneous WINDOW exports #6185

Merged
merged 1 commit into from Nov 10, 2022

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Nov 10, 2022

Fixes #6183

These ended up in the TypeScript definitions because they are exported but they should never have been exported!

@AbhiPrasad AbhiPrasad changed the title fix(integrations): Remove erroneous exports fix(integrations): Remove erroneous WINDOW exports Nov 10, 2022
@timfish
Copy link
Collaborator Author

timfish commented Nov 10, 2022

I could add some TypeScript tests that will avoid this from happening again but they will become redundant once the code gets moved and node/dom types get fully enforced across packages.

@AbhiPrasad
Copy link
Member

I could add some TypeScript tests that will avoid this from happening again but they will become redundant once the code gets moved and node/dom types get fully enforced across packages.

We could add a new recipe to https://github.com/getsentry/sentry-javascript/tree/master/packages/e2e-tests, but I would do that in another PR.

@AbhiPrasad AbhiPrasad enabled auto-merge (squash) November 10, 2022 13:03
@AbhiPrasad AbhiPrasad merged commit bd46727 into getsentry:master Nov 10, 2022
@timfish timfish deleted the fix/integrations-export branch November 10, 2022 13:18
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.

TypeScript error in @sentry/integrations introduced in 7.16.0
2 participants