Microsoft/TypeScript
在 GitHub 查看`ReadonlySet` lacks documentation for `has`, `forEach` and `size`
Open
#63,481 建立於 2026年5月15日
Domain: lib.d.tsHelp WantedPossible Improvement
描述
⚙ 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
Documentation Link
N/A