Skip to content

docs: add JSDoc comments to ReadonlyMap interface - #63711

Open
KimMaru10 wants to merge 1 commit into
microsoft:mainfrom
KimMaru10:fix/63710-readonlymap-jsdoc
Open

docs: add JSDoc comments to ReadonlyMap interface#63711
KimMaru10 wants to merge 1 commit into
microsoft:mainfrom
KimMaru10:fix/63710-readonlymap-jsdoc

Conversation

@KimMaru10

Copy link
Copy Markdown

Thank you for submitting a pull request!

Please verify that:

  • There is an associated issue in the Backlog milestone (required)
  • Code is up-to-date with the main branch

Fixes #63710

Adds JSDoc comments to the four ReadonlyMap<K, V> members declared in lib.es2015.collection.d.ts (forEach, get, has and size), copied from the corresponding Map<K, V> members for consistency — the same approach #63483 took for ReadonlySet<T> (#63481). The ReadonlyMap members declared in lib.es2015.iterable.d.ts are already documented and are untouched.

(Note: the associated issue #63710 was filed alongside this PR and is awaiting triage into the Backlog milestone.)

@typescript-automation typescript-automation Bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Aug 2, 2026
@KimMaru10
KimMaru10 marked this pull request as ready for review August 2, 2026 11:12
Copilot AI review requested due to automatic review settings August 2, 2026 11:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

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

None yet

Development

Successfully merging this pull request may close these issues.

ReadonlyMap lacks documentation for forEach, get, has and size

2 participants