From 4339bf50595295ee721f88a9ce77783e2ff4effb Mon Sep 17 00:00:00 2001 From: wobsoriano Date: Fri, 12 May 2023 11:07:44 -0700 Subject: [PATCH] fix: transform types --- src/client/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 },