(error: string, status = 400)
| 55 | } |
| 56 | |
| 57 | const fail = (error: string, status = 400): ApiResult => ({ body: { error }, status }); |
| 58 | |
| 59 | /** |
| 60 | * `noUncheckedIndexedAccess` types every slot of a `batch()` result as possibly |
no outgoing calls
no test coverage detected