Closed joojaewoo closed 2 years ago
I am having the same problem.
I wish it was modified to support both useQueryProvider and VueQueryPlugin.
VueQueryDevTools have same problem.
ERROR in .../vue-query/lib/devtools/DevtoolsPanel.vue.d.ts(9,44): 'vue-demi/lib/index' has no exported member 'DefineComponent'
declare const _default: import("vue-demi").DefineComponent<{
Build cannot proceed because of an error. I wish check this problem.
I have some libraries using vue-demi too, it’s the culprit
@joojaewoo Vue3-only type import from vueQueryPlugin will be removed in https://github.com/DamianOsipiuk/vue-query/pull/147
As for the DevTools, for now i do not have a fix for it.
You might want to set skipLibCheck: true
in your tsconfig for now.
I use vue-query in project
I want to build with vue-cli, but type error occurred.
my build command is
vue-cli-service build
Type errors still occur in your example 2.x-basic. No error when using vite.
Do you check this issue? I'm attaching the picture below.