diff --git a/src/client/types.ts b/src/client/types.ts index 9a99c12..9a4f91d 100644 --- a/src/client/types.ts +++ b/src/client/types.ts @@ -16,7 +16,7 @@ import { inferTransformedProcedureOutput } from '@trpc/server/shared' import type { AsyncData, AsyncDataOptions, - KeyOfRes, + KeysOf, PickFrom, _Transform } from 'nuxt/dist/app/composables/asyncData' @@ -53,7 +53,7 @@ type DecorateProcedure< useQuery: < TData = inferTransformedProcedureOutput, Transform extends _Transform = _Transform, - PickKeys extends KeyOfRes = KeyOfRes, + PickKeys extends KeysOf = KeysOf, >( input: inferProcedureInput, opts?: AsyncDataOptions & { trpc?: TRPCRequestOptions },