"Object is possibly null" even inside v-if check.
Closed this issue · 2 comments
subdavis commented
<div v-if="foo !== null">
{{ foo.content }}
</div>
274:11 Object is possibly 'null'.
272 | <div>
> 274 | {{ foo.content }}
| ^^^^^^^
275 | </div>
276 | </template>
Vetur doesn't complain about this. I don't really know what to do about it.
subdavis commented
Appears to be an upstream bug: vuejs/vetur#1635 (comment)
dominikjasek commented
Hi @subdavis, did you manage to fix this? I am having the same problem