[x] I have tried restarting VS Code or running Vetur: Restart VLS
Info
Platform: macOS
Vetur version: 0.33.1
VS Code version: 1.54
Problem
Vetur is not able to find symbols when used inside an anonymous function for an event like so:
<v-btn
color="primary"
depressed
@click="
() => {
if (!resetPasswordSessionId) {
sendResetPasswordEmail(); // I get an error here: "Cannot find name 'sendResetPasswordEmail'"
} else {
resetPassword(); // I get an error here: "Cannot find name 'resetPassword'"
}
}
"
:loading="forgotCredentialsSendingEmail || resettingPassword"
>Submit</v-btn
>
Error message:
Cannot find name 'sendResetPasswordEmail'
Cannot find name 'resetPassword'
Reproducible Case
Just use an anonymous function inside the template
Try to reference a state/prop inside this anonymous function
Vetur throws error similar to the ones mentioned above
Vetur: Restart VLS
Info
Problem
Vetur is not able to find symbols when used inside an anonymous function for an event like so:
Error message:
Reproducible Case