Interface: TrpcProcedureHandler<TInput, TOutput>
Defined in: src/trpc/TrpcRouterBuilder.ts:4
Type Parameters
| Type Parameter | Default type |
|---|---|
TInput | any |
TOutput | any |
Properties
resolve
resolve: (
opts) =>Promise<TOutput>
Defined in: src/trpc/TrpcRouterBuilder.ts:5
Parameters
| Parameter | Type |
|---|---|
opts | { input: TInput; ctx?: any; } |
opts.input | TInput |
opts.ctx? | any |
Returns
Promise<TOutput>