import { type ProcessedRequest } from "https://deno.land/x/reno@v2.0.75/reno/mod.ts";
An AugmentedRequest with an additional property
containing the body after it has been parsed or
processed, typically by one of the built-in
middlewares. For example, the withJsonBody()
middleware will deserialise the raw body with
JSON.parse()
and assign the result to the
parsedBody
property before forwarding the
ProcessedRequest
to the wrapped route handler.
This type can also be useful when defining your own higher-order route handlers.
definition: AugmentedRequest & { parsedBody: TBody; }