HttpResponse<T>
type HttpResponse<T> = {
data: T;
headers: Record<string, string>;
status: number;
statusText: string;
};
HTTP response type that replaces AxiosResponse
Type Parameters
| Type Parameter | Default type |
|---|---|
T | unknown |
Properties
data
data: T;
headers
headers: Record<string, string>;
status
status: number;
statusText
statusText: string;