Type Alias CreateCRPCClient<TRouter>

CreateCRPCClient: inferRouterClient<TRouter> extends infer $Value
    ? (UntypedClientProperties & keyof $Value) extends never
        ? inferRouterClient<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

  • TRouter extends AnyRouter