Type Alias ApiResult<T>Beta

Type representing a general API result which can be either success or error.

Type Parameters

  • T

    The type of the data returned in case of success.