# Type Alias: ~~TRPCPrepassProps<TRouter, TSSRContext>~~

> 

> **TRPCPrepassProps**\<`TRouter`, `TSSRContext`\>: `object`

Defined in: [withTRPC.tsx:130](https://github.com/trpc/trpc/blob/c561cd311fd1af3289fe597ec85530fa7396fe02/packages/next/src/withTRPC.tsx#L130)

The props `ssrPrepass` passes to the wrapped app during the prepass.

## Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `TRouter` *extends* `AnyRouter` | - |
| `TSSRContext` *extends* `NextPageContext` | `NextPageContext` |

## Type declaration

### ~~config~~

> **config**: [`WithTRPCConfig`](https://trpc.io/docs/typedoc/next/type-aliases/WithTRPCConfig.md)\<`TRouter`\>

The client config from the `config` callback.

### ~~queryClient~~

> **queryClient**: `QueryClient`

The `QueryClient` that collects the prefetched queries.

### ~~ssrContext~~

> **ssrContext**: `TSSRContext`

The Next.js page context.

### ~~ssrState~~

> **ssrState**: `"prepass"`

### ~~trpcClient~~

> **trpcClient**: `TRPCUntypedClient`\<`TRouter`\> \| `TRPCClient`\<`TRouter`\>

The tRPC client used during the prepass.

## Deprecated

part of `ssr: true`, which is built on `@trpc/react-query`.

## See

https://trpc.io/docs/client/nextjs/pages-router/ssr
