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(types): incorrect return type of collectDefaultMetrics(), should be Timeout in Node #264

Merged
merged 1 commit into from
Jun 4, 2019

Conversation

nazar-pc
Copy link
Contributor

No description provided.

@SimenB
Copy link
Collaborator

SimenB commented May 21, 2019

Thanks! Mind adding a /// <reference types="node" /> at the top of the file?

@nazar-pc
Copy link
Contributor Author

Looks like @types/node dependency is needed. Ideally in dependencies.

@SimenB
Copy link
Collaborator

SimenB commented May 21, 2019

Let's do dev dependencies so we don't pollute consumers' code with it. Ref jestjs/jest#8092

@SimenB SimenB requested a review from siimon May 21, 2019 14:27
@siimon
Copy link
Owner

siimon commented Jun 1, 2019

Can you please look into the broken ci?

@nazar-pc
Copy link
Contributor Author

nazar-pc commented Jun 1, 2019

Updated dependencies, should be good now

index.d.ts Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
@SimenB
Copy link
Collaborator

SimenB commented Jun 4, 2019

If you remove the unneeded package(-lock).json changes (now that we use the return type), we can merge this 🙂

@nazar-pc
Copy link
Contributor Author

nazar-pc commented Jun 4, 2019

I've changed as suggested, tests are good. Globals are strange, but I've tested in my project and it seems to work as it should.

@SimenB SimenB changed the title fix: fix incorrect return type of collectDefaultMetrics(), should be Timeout in Node fix(types): incorrect return type of collectDefaultMetrics(), should be Timeout in Node Jun 4, 2019
@SimenB SimenB merged commit 3784984 into siimon:master Jun 4, 2019
@SimenB
Copy link
Collaborator

SimenB commented Jun 4, 2019

@nazar-pc nazar-pc deleted the patch-1 branch June 5, 2019 12:42
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