diff --git a/src/client/types.ts b/src/client/types.ts index 9a4f91d..a42c670 100644 --- a/src/client/types.ts +++ b/src/client/types.ts @@ -18,7 +18,6 @@ import type { AsyncDataOptions, KeysOf, PickFrom, - _Transform } from 'nuxt/dist/app/composables/asyncData' interface TRPCRequestOptions extends _TRPCRequestOptions { @@ -52,12 +51,11 @@ type DecorateProcedure< ? { useQuery: < TData = inferTransformedProcedureOutput, - Transform extends _Transform = _Transform, - PickKeys extends KeysOf = KeysOf, + PickKeys extends KeysOf = KeysOf, >( input: inferProcedureInput, - opts?: AsyncDataOptions & { trpc?: TRPCRequestOptions }, - ) => AsyncData, PickKeys>, TRPCClientErrorLike>, + opts?: AsyncDataOptions & { trpc?: TRPCRequestOptions }, + ) => AsyncData, TRPCClientErrorLike>, query: Resolver } : TProcedure extends AnyMutationProcedure ? { mutate: Resolver