Interesting - thank you for the issue link, I'll give it a whirl when I get back to my computer. I missed that one when searching it myself.
In that conversation, though, they mention needing to use a target < es2015 - I did try doing that instead to no avail. If Array.from() solves the issue, though, it's a small price to pay, I don't think it's any less readable.
Interesting - thank you for the issue link, I'll give it a whirl when I get back to my computer. I missed that one when searching it myself.
In that conversation, though, they mention needing to use a target < es2015 - I did try doing that instead to no avail. If
Array.from()
solves the issue, though, it's a small price to pay, I don't think it's any less readable.Ah - another comment in that thread had the fix. You need to add "dom.iterable" to your libs in tsconfig - I'll update the post. Thank you thank you!
My pleasure! Glad it's fixed 😀