Hacker News new | past | comments | ask | show | jobs | submit login

`[ ...document.body.childNodes ]` is legal. You need to have the `DOM.Iterable` enabled in your compilerOptions.libs` for TypeScript to permit it, though.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: