Skip to content

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