3 months ago
b6adba7Add explicit type parameters to all queryOptions calls in queries.ts so TanStack Query infers typed data for every route consumer. Fix the memories route to spread queryOpts directly instead of casting the queryKey. Change test-only fetch mocks from `as typeof fetch` to `as unknown as typeof fetch` to satisfy strict conversion checking without weakening production types. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Parent6ed9959