AUR0176
Error Message
AUR0176: Expression error: rest parameter must be last formal parameter in arrow function: "{{expression}}"
Description
This error occurs when an arrow function uses a rest parameter (...args) that is not the last parameter.
Example Trigger
<!-- ❌ Rest not last -->
<div textcontent.bind="(a, ...rest, b) => a"></div>Solution
Put the rest parameter last, or avoid arrow functions in bindings.
Last updated
Was this helpful?