You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't accounted for the in the type definitions. The return type is just Promise<swell.Cart> and Cart doesn't include errors so trying to handle errors is showing a type error warning as of swell-js 3.21.2
The text was updated successfully, but these errors were encountered:
When an api call doesn't succeed, there is an "errors" property returned from swellj-s. For example:
This isn't accounted for the in the type definitions. The return type is just
Promise<swell.Cart>
and Cart doesn't includeerrors
so trying to handle errors is showing a type error warning as of swell-js 3.21.2The text was updated successfully, but these errors were encountered: