-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Describe the bug
svelte2tsx use Array.map to mimic each block now but the svelte compiler use for-loop to iterate.
quote doc:
You can use each blocks to iterate over any array or array-like value — that is, any object with a length property.
To Reproduce
Steps to reproduce the behavior:
https://svelte.dev/repl/c7b9f67bfbe24c5dbc06407140618b84?version=3.24.0
Expected behavior
create another map/forEach function that accepts arrayLike interface to wrap it
Screenshots
If applicable, add screenshots to help explain your problem.

Metadata
Metadata
Assignees
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers