diff --git a/playground/pages/index.vue b/playground/pages/index.vue index a10b798..f156c47 100644 --- a/playground/pages/index.vue +++ b/playground/pages/index.vue @@ -28,7 +28,6 @@ const { data: todos, pending, error, refresh } = await $client.todo.getTodos.que trpc: { abortOnUnmount: true, }, - server: false, }) diff --git a/src/client/types.ts b/src/client/types.ts index f3a5524..71a67cd 100644 --- a/src/client/types.ts +++ b/src/client/types.ts @@ -28,7 +28,6 @@ interface TRPCOptions extends TRPCRequestOptions { */ export type DecorateProcedure< TProcedure extends AnyProcedure, - TPath extends string, > = TProcedure extends AnyQueryProcedure ? { query: < @@ -63,6 +62,6 @@ export type DecoratedProcedureRecord< `${TPath}${TKey & string}.` > : TProcedures[TKey] extends AnyProcedure - ? DecorateProcedure + ? DecorateProcedure : never; }