Skip to content

Commit 6aa4c44

Browse files
committed
export TrpcClientWithQuery
1 parent 34d8404 commit 6aa4c44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@creatorem/next-trpc",
3-
"version": "1.0.13",
3+
"version": "1.0.14",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/creatorem/next-trpc"

src/create-trpc-query-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
import type { Router, Endpoint, router } from "./core";
1010
import z from "zod";
1111

12-
type TrpcClientWithQuery<R extends Router<any>> = {
12+
export type TrpcClientWithQuery<R extends Router<any>> = {
1313
[K in keyof R]: R[K] extends Endpoint<infer Output, infer Input, any>
1414
? EndpointClient<Input, Output> & {
1515
useQuery: Input extends import("zod").Schema

0 commit comments

Comments
 (0)