Add missing JSDoc to ReadonlySet and ReadonlyMap members#63508
Add missing JSDoc to ReadonlySet and ReadonlyMap members#63508TxsharDev wants to merge 1 commit into
Conversation
|
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
|
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
|
@microsoft-github-policy-service agree |
|
@MartinJohns |
ReadonlySet and ReadonlyMap in es2015.collection.d.ts are missing JSDoc on their members. The mutable counterparts (Set, Map) have full documentation but the readonly versions have none.
This adds matching JSDoc to:
ReadonlySet<T>· forEach, has, sizeReadonlyMap<K, V>· forEach, get, has, sizeDocs are consistent with the existing comments on
Set<T>andMap<K, V>.Fixes #63481