We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a37c97 commit 18ae27bCopy full SHA for 18ae27b
src/types.ts
@@ -53,9 +53,9 @@ export type DecorateProcedure<
53
> = TProcedure extends AnyQueryProcedure
54
? {
55
useQuery: <
56
- TQueryFnData,
+ TQueryFnData = inferTransformedProcedureOutput<TProcedure>,
57
TError = TRPCClientErrorLike<TProcedure>,
58
- TData = inferTransformedProcedureOutput<TProcedure>,
+ TData = TQueryFnData,
59
TQueryData = TQueryFnData,
60
TQueryKey extends QueryKey = QueryKey,
61
>(
0 commit comments