Microsoft/TypeScript

`ReadonlySet` lacks documentation for `has`, `forEach` and `size`

クローズ

#63,481 opened on 2026/05/15

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (13,395 件のフォーク)batch import
Domain: lib.d.tsHelp WantedPossible Improvement

Repository metrics

Stars
 (108,860 個のスター)
PR merge metrics
 (平均マージ 6d 17h) (30d で 9 merged PRs)

説明

⚙ Compilation target

ES2015+

⚙ Library

lib.es2015.collection.d.ts

Missing / Incorrect Definition

ReadonlySet<T> lacks documentation for forEach, has and size.

These should ideally be copied from regular Set<T> for consistency.

Sample Code

https://www.typescriptlang.org/play/?#code/MYewdgzgLgBA5gLhgZQKZQDzQE4EsxwB8MAvDGKgO4roAUA2gEQBMjAugJQDcAUKJLABmSAEqoAhgBNwAGwCeaTDnxFS8XjwD0mmAAkQAN1TYYh4zHFhJMCKlQwoAC3uTcgwcdRhg9gLTwYR3EIGGlgEMpHXBl7QRgZcWAAaxCnVABbHkEAOkEQbABRRMceOFz8ouASnKCIUuzarOyIXAAvVHqW9p4gA

Documentation Link

N/A

コントリビューターガイド