Refactor extension proposals check to use Array.prototype.includes
Đang mở
stale
triage-needed
- Ngôn ngữ chính
- TypeScript
- Star
- 193k
- Fork
- 42.4k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
**Problem/Feature Description**
In the extension proposal utility, the code currently uses `existing.indexOf(e.id) === -1` to filter known extensions.
**Proposed Solution**
Replace `existing.indexOf(e.id) === -1` with modern TypeScript/JavaScript syntax using `!existing.includes(e.id)` to improve code readability and maintainability.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.