Shahar Har-Shuv
Shahar Har-Shuv
Opened a PR that fixes this: https://github.com/TanStack/query/pull/7351
The problematic types are defined in angular-query-experimental. If an undefined return type is not supported than I'm not sure how the common use case will work. This example ([from the...
> I don't think your proposed solution is right though. I think we should rather extend UndefinedInitialDataOptions When looking at the types more closely I believe you are correct. According...
> okay interestingly, we have test that cover this case already, and they don't fail: It doesn't fail because you use `useQuery` directly. The bug (both in angular and react)...
I fixed the PR per feedback: https://github.com/TanStack/query/pull/7351