Improve each_item_invalid_assignment error message

pull/14703/head
Alexander Prinzhorn 2 years ago committed by GitHub
parent af9b071622
commit d3fd53dbea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4,6 +4,6 @@ export default test({
error: {
code: 'each_item_invalid_assignment',
message:
'Cannot reassign or bind to each block argument in runes mode. Use the array and index variables instead (e.g. `array[i] = value` instead of `entry = value`)'
'Cannot reassign or bind to each block argument in runes mode. Use the array and index variables instead (e.g. `bind:value={array[i]}` instead of `bind:value={entry}`)'
}
});

Loading…
Cancel
Save