(this: Top, ...toAdd: NonEmptyReadonlyArray<HttpApiEndpoint.Top>)
| 306 | const Proto = { |
| 307 | [TypeId]: TypeId, |
| 308 | add(this: Top, ...toAdd: NonEmptyReadonlyArray<HttpApiEndpoint.Top>) { |
| 309 | const endpoints = { ...this.endpoints } |
| 310 | for (const endpoint of toAdd) { |
| 311 | InternalRecord.assignProperty(endpoints, endpoint.identifier, endpoint) |
| 312 | } |
| 313 | return makeProto({ |
| 314 | ...optionsFromGroup(this), |
| 315 | endpoints |
| 316 | }) |
| 317 | }, |
| 318 | prefix(this: Top, prefix: PathInput) { |
| 319 | return makeProto({ |
| 320 | ...optionsFromGroup(this), |
nothing calls this directly
no test coverage detected