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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! I just came across this issue that I don't quite understand. Give the following code
Volar won't complain that this is an issue, but when running
vue-tsc
via thetype-check
command, I get the following error in reference to the@click
:I came across this thread but I don't completely understand what's going on 😅
If
@click
compiles into($event) => { log(foo) }
, shouldn't that be irrelevant since the entire DOM node won't exist?Also given that logic, why doesn't this happens with
v-for
? For ex, with the following,vue-tsc
doesn't error out:Beta Was this translation helpful? Give feedback.
All reactions