Skip to content

fix(node): Remove dom lib types #9090

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

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Sep 22, 2023

I've been having issues with the setTimeout return type in the node SDK, mostly when running tests:

Property 'unref' does not exist on type 'number'.

It turns out we've got dom lib types in the base tsconfig which means these have ended up in node SDK.

This PR ensures we only have es6 and no dom lib types and then fixes all the resulting errors.

@timfish timfish marked this pull request as ready for review September 22, 2023 11:43
@AbhiPrasad AbhiPrasad merged commit a7cce7b into getsentry:develop Sep 25, 2023
@timfish timfish deleted the fix/node-dom-lib-types branch September 25, 2023 14:09
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