Skip to content

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