(this: Top, middleware: HttpApiMiddleware.AnyService)
| 803 | }) |
| 804 | }, |
| 805 | middleware(this: Top, middleware: HttpApiMiddleware.AnyService) { |
| 806 | return makeProto({ |
| 807 | ...optionsFromEndpoint(this), |
| 808 | middlewares: new Set([...this.middlewares, middleware as any]) |
| 809 | }) |
| 810 | }, |
| 811 | annotate(this: Top, key: Context.Key<any, any>, value: any) { |
| 812 | return makeProto({ |
| 813 | ...optionsFromEndpoint(this), |
nothing calls this directly
no test coverage detected