const me = api.user.me.useQuery(undefined, { enabled: true, })
const me = api.user.me.useQuery(undefined, { enabled: true, })
which results in an error Property 'queryKey' is missing in type ...Property 'queryKey' is missing in type .... So I have to pass the queryKey eventho it should be automatically generated?
Solution
hm, anyways it seems to work now, maybe a restart of VS code. I will close as solved