Skip to content

Add missing JSDoc param and returns tags to lib.d.ts esnext files#63513

Open
Se3do wants to merge 1 commit into
microsoft:mainfrom
Se3do:docs/jsdoc-error-iserror
Open

Add missing JSDoc param and returns tags to lib.d.ts esnext files#63513
Se3do wants to merge 1 commit into
microsoft:mainfrom
Se3do:docs/jsdoc-error-iserror

Conversation

@Se3do
Copy link
Copy Markdown

@Se3do Se3do commented May 28, 2026

Summary

Adds missing JSDoc @param and @returns annotations across several esnext lib declaration files.

Changes include:

  • Error.isError — added @param error and @returns
  • Date.toTemporalInstant — added full JSDoc (previously undocumented)
  • Atomics.pause — added @param n
  • Map/WeakMap getOrInsert* methods — added missing parameter annotations
  • Array.fromAsync — added @returns to both overloads
  • Uint8Array.fromHex — added @param string

Testing

  • npx dprint fmt
  • npx eslint
  • npx hereby local

Fixes #63512

Copilot AI review requested due to automatic review settings May 28, 2026 09:40
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog May 28, 2026
@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label May 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@Se3do
Copy link
Copy Markdown
Author

Se3do commented May 28, 2026

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Not started

Development

Successfully merging this pull request may close these issues.

Missing JSDoc annotations in esnext lib declaration files

3 participants