Open chetan opened 7 months ago
Checklist
Tell us about your environment
What did you do?
const count = ref(0) const ok = ref(true) const notok = computed(() => !ok.value) if (notok || !ok) { console.log("not ok!!") }
What did you expect to happen?
notok should be flagged as a problem in the condition above.
notok
What actually happened?
Only !ok is flagged.
!ok
It's happening in my local env but I am able to reproduce in the web docs:
Repository to reproduce this issue
can provide more info on my local configs if needed.
For the error in the screenshot, you need to also import computed from vue.
computed
If you still have this issue, please provide more information to help us debug.
Checklist
Tell us about your environment
What did you do?
What did you expect to happen?
notok
should be flagged as a problem in the condition above.What actually happened?
Only
!ok
is flagged.It's happening in my local env but I am able to reproduce in the web docs:
Repository to reproduce this issue
can provide more info on my local configs if needed.