Docs

Interface: WithResponse<T>

Interface: WithResponse<T>

Parsed data with its HTTP response and request ID.

Type Parameters

T

T

Properties

data

data: T;

The parsed response body.


requestId

requestId: string | undefined;

Request ID from x-typesafe-request-id, or undefined when absent.


response

response: Response;

The HTTP response, with its body consumed by parsing.