/** * @deprecated Use [`Response.json`](https://developer.mozilla.org/en-US/docs/Web/API/Response/json_static) from the standard Web API directly. */ export interface JsonResponse extends Response { json: () => Promise } /** * @deprecated Use [`Response.json`](https://developer.mozilla.org/en-US/docs/Web/API/Response/json_static) from the standard Web API directly. */ export function json( payload: TData, init?: ResponseInit, ): JsonResponse { return Response.json(payload, init) }