( contract: T, implementation: NestHandlerImplementation<T>, )
| 273 | * @returns |
| 274 | */ |
| 275 | export const tsRestHandler = <T extends AppRouter | AppRoute>( |
| 276 | contract: T, |
| 277 | implementation: NestHandlerImplementation<T>, |
| 278 | ) => implementation; |
| 279 | |
| 280 | /** |
| 281 | * Error you can throw to return a response from a handler |
no outgoing calls