Skip to content

Add missing JSDoc parameter and return type tags to esnext lib files#63509

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

Add missing JSDoc parameter and return type tags to esnext lib files#63509
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

Copilot AI review requested due to automatic review settings May 28, 2026 00:45
@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
@typescript-bot
Copy link
Copy Markdown
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

1 similar comment
@typescript-bot
Copy link
Copy Markdown
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

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 Se3do closed this May 28, 2026
@github-project-automation github-project-automation Bot moved this from Not started to Done in PR Backlog May 28, 2026
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: Done

Development

Successfully merging this pull request may close these issues.

3 participants