Skip to content

feat(learn): setTimeout() return type #7960

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
Jul 10, 2025

Conversation

ShubhamOulkar
Copy link
Contributor

Description

rebase of #7759

Docs validation

https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout#return_value
https://nodejs.org/api/timers.html#class-timeout

Related Issues

closes #7672

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@ShubhamOulkar ShubhamOulkar requested a review from a team as a code owner July 8, 2025 03:48
Copy link

vercel bot commented Jul 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Jul 8, 2025 1:19pm

@avivkeller avivkeller changed the title docs: Clarify setTimeout() return type feat(learn): setTimeout() return type Jul 8, 2025
@avivkeller
Copy link
Member

Please add the other author as a Co-Author

Co-authored-by: Aviv Keller <[email protected]>
Co-authored-by: vishal <[email protected]>
@avivkeller avivkeller added the github_actions:pull-request Trigger Pull Request Checks label Jul 10, 2025
@avivkeller avivkeller enabled auto-merge July 10, 2025 11:20
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Jul 10, 2025
Copy link

codecov bot commented Jul 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.64%. Comparing base (a356572) to head (5ae63d1).
Report is 10 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7960      +/-   ##
==========================================
- Coverage   73.68%   73.64%   -0.05%     
==========================================
  Files          96       96              
  Lines        8354     8354              
  Branches      219      220       +1     
==========================================
- Hits         6156     6152       -4     
- Misses       2197     2201       +4     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@avivkeller avivkeller added this pull request to the merge queue Jul 10, 2025
Merged via the queue into nodejs:main with commit cc36077 Jul 10, 2025
13 checks passed
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.

Clarify setTimeout return value in timers documentation (Node.js returns a Timeout object, not just an ID)
4 participants