Skip to content

API Documentation / @pinia/colada / DataState_Success

Interface: DataState_Success<TData, TDataInitial> ​

Type Parameters ​

TData ​

TData

TDataInitial ​

TDataInitial

Properties ​

data ​

ts
data: TData | Exclude<TDataInitial, undefined>;

The last successfully resolved data.

Inherited from ​

ts
_DataState_Base.data

error ​

ts
error: null;

The last rejected error.

Inherited from ​

ts
_DataState_Base.error

status ​

ts
status: "success";

The status of the data.

See ​

DataStateStatus

Overrides ​

ts
_DataState_Base.status

Released under the MIT License.