Type alias HttpResponse<T>

HttpResponse<T>: {
    data: T;
    ok: true;
} & Response | {
    data: ErrorMessage;
    ok: false;
} & Response

Type Parameters

  • T

Generated using TypeDoc