Type Alias ApiSuccessResult<T>Beta

ApiSuccessResult<T>: {
    data: T;
    status: "success";
}

Type representing a successful API result.

Type Parameters

  • T

    The type of the data returned.

Type declaration

  • Betadata: T

    The data returned by the API.

  • Betastatus: "success"

    The status of the API result, always 'success' for this type.