Computed values are transformed into functions so random-api becomes random-api(){} which is not allowed.
computed:{
"random-api":(pw_min,pw_max,passwords)=>{
return `apiurlsomethingsomething`
}
}
The compiler should suggest an alternative like random_api, which is admittedly uglier 🤷♀️, but completely valid, and not svelte's fault obvi
Computed values are transformed into functions so
random-apibecomesrandom-api(){}which is not allowed.The compiler should suggest an alternative like
random_api, which is admittedly uglier 🤷♀️, but completely valid, and not svelte's fault obvi