(options: {
readonly body: A
readonly headers: H
})
| 582 | * @since 4.0.0 |
| 583 | */ |
| 584 | export const withHeaders = <A, H>(options: { |
| 585 | readonly body: A |
| 586 | readonly headers: H |
| 587 | }): withHeaders<A, H> => ({ |
| 588 | [WithHeadersValueTypeId]: WithHeadersValueTypeId, |
| 589 | body: options.body, |
| 590 | headers: options.headers |
| 591 | }) |
| 592 | |
| 593 | /** |
| 594 | * Returns `true` when a schema is a `WithHeaders` response schema. |
nothing calls this directly
no outgoing calls
no test coverage detected