Type Alias: CreateTRPCProxyClient<TRouter>
CreateTRPCProxyClient<
TRouter
>:inferRouterProxyClient
<TRouter
> extends infer $Value ?UntypedClientProperties
& keyof$Value
extendsnever
?inferRouterProxyClient
<TRouter
> :IntersectionError
<UntypedClientProperties
& keyof$Value
> :never
Creates a proxy client and shows type errors if you have query names that collide with built-in properties
Type Parameters
Type Parameter |
---|
TRouter extends AnyRouter |