# Type Alias: ~~TRPCPrepassHelper()~~

> 

> **TRPCPrepassHelper**: (`opts`) => `void`

Defined in: [withTRPC.tsx:70](https://github.com/trpc/trpc/blob/fe64009e62e94f5301082e37eb5d08ec70bde63d/packages/next/src/withTRPC.tsx#L70)

The type of ssrPrepass.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `opts` | \{ `AppOrPage`: `NextComponentType`\<`any`, `any`, `any`\>; `parent`: [`WithTRPCSSROptions`](https://trpc.io/docs/typedoc/next/type-aliases/WithTRPCSSROptions.md)\<`AnyRouter`\>; `WithTRPC`: `NextComponentType`\<`any`, `any`, `any`\>; \} |
| `opts.AppOrPage` | `NextComponentType`\<`any`, `any`, `any`\> |
| `opts.parent` | [`WithTRPCSSROptions`](https://trpc.io/docs/typedoc/next/type-aliases/WithTRPCSSROptions.md)\<`AnyRouter`\> |
| `opts.WithTRPC` | `NextComponentType`\<`any`, `any`, `any`\> |

## Returns

`void`

## Deprecated

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

## See

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