How to extract the return type from a Query instance?
The documentation mentions
GetResult: https://tanstack.com/db/latest/docs/reference/type-aliases/GetResultHowever, GetResult expects a Context type parameter, not a Query:
Example use case
ExtractContext exists in the library but isn't exported, which would solve this:Questions:
1. Should
ExtractContext be exported to enable this pattern?2. Or is there a recommended alternative approach for extracting query result types?
Thanks