duydang
Using both `c.body` and `c.json` in an endpoint results in `response.json()` of `Promise<unknown>`
hi everyone, is there any way to get the response type working when i have endpoints that return multiple type of content based on status code?
this is an example where it fails to infer the type
2 replies