T
TanStack3y ago
fair-rose

vue-query, refs doesn't work for type narrowing?

3 Replies
noble-gold
noble-gold2y ago
@nicky_jay same issue for me but when trying to access data in <template> typescript wants me to use .value which is wrong... DId you solve this at all? maybe downgrading?
other-emerald
other-emerald2y ago
GitHub
Type narrowing not working in vue 3 template · Issue #5418 · TanSta...
Describe the bug The type narrowing is not working as described in the docs. I am wrapping some content in the template with a v-if="isSuccess" returned from useQuery, but I still have to...
correct-apricot
correct-apricot2y ago
please use #vue-query-questions for, well, questions about vue-query ...

Did you find this page helpful?