You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: