@wocart/storefront / index / ClientResult
Type Alias: ClientResult<T>
ClientResult<
T> = {data:T;success:true; } | {[key:string]:unknown;code?:string;domainError:DomainError;error:string;success:false; }
Type Parameters
T
T