(this: Top, middleware: HttpApiMiddleware.AnyService)
| 322 | }) |
| 323 | }, |
| 324 | middleware(this: Top, middleware: HttpApiMiddleware.AnyService) { |
| 325 | return makeProto({ |
| 326 | ...optionsFromGroup(this), |
| 327 | endpoints: Record.map(this.endpoints, (endpoint) => endpoint.middleware(middleware as any)) |
| 328 | }) |
| 329 | }, |
| 330 | annotateMerge<I>(this: Top, annotations: Context.Context<I>) { |
| 331 | return makeProto({ |
| 332 | ...optionsFromGroup(this), |
nothing calls this directly
no test coverage detected