# Type Alias: inferRouterInputs<TRouter>

> 

> **inferRouterInputs**\<`TRouter`\>: `GetInferenceHelpers`\<`"input"`, `TRouter`\[`"_def"`\]\[`"_config"`\]\[`"$types"`\], `TRouter`\[`"_def"`\]\[`"record"`\]\>

Defined in: [packages/server/src/unstable-core-do-not-import/clientish/inference.ts:77](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/server/src/unstable-core-do-not-import/clientish/inference.ts#L77)

The input types of every procedure in a router, by path.

## Type Parameters

| Type Parameter |
| ------ |
| `TRouter` *extends* [`AnyTRPCRouter`](https://trpc.io/docs/typedoc/server/index/type-aliases/AnyTRPCRouter.md) |

## Example

```ts
type PostByIdInput = inferRouterInputs<AppRouter>['post']['byId'];
```

## See

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