AUR0152
Error Message
Description
Example Trigger
<!-- ❌ Spread in binding expression -->
<div textcontent.bind="[...items].length"></div>
<button click.trigger="save(...args)"></button>Solution / Workarounds
export class MyVm {
items: unknown[] = [];
get itemsCopy() {
return this.items.slice();
}
saveAll(args: unknown[]) {
return this.saveMany(args);
}
private saveMany(args: unknown[]) {/* ... */}
}Troubleshooting
Last updated
Was this helpful?