Skip to content
tRPC

Partners

Type Alias: inferRouterOutputs<TRouter>

On this page

inferRouterOutputs<TRouter>: GetInferenceHelpers<"output", TRouter["_def"]["_config"]["$types"], TRouter["_def"]["record"]>

Defined in: packages/server/src/unstable-core-do-not-import/clientish/inference.ts:88

The output types of every procedure in a router, by path, as the client gets them.

Type Parameters

Type Parameter
TRouter extends AnyTRPCRouter

See

https://trpc.io/docs/client/vanilla/infer-types#inferring-input--output-types