(response: HttpClientResponse.HttpClientResponse)
| 220 | } |
| 221 | |
| 222 | function responseJson(response: HttpClientResponse.HttpClientResponse) { |
| 223 | return response.json |
| 224 | } |
| 225 | |
| 226 | function requestJson<T>(path: string, init?: RequestInit) { |
| 227 | return request(path, init).pipe(Effect.flatMap(json<T>)) |
no outgoing calls
no test coverage detected