UNPKG

pi-lens

Version:

Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo

9 lines (8 loc) • 249 B
id: ts-unnecessary-array-from valid: - 'for (const x of iter) {}' - 'Array.from(iter)' invalid: - 'for (const x of Array.from(set)) {}' - 'for (const x of Array.from(set)) { use(x) }' - 'for (const x of Array.from(map.keys())) { foo(x) }'