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
When I call the commerce.cart.add function typescript tells me that I received a promise of type AddUpdateResponse.
In reality what I get back is a promise of type Cart.
How can I fix this?
My commercejs and types packages are both on 2.8.0 version.
The text was updated successfully, but these errors were encountered:
When I call the commerce.cart.add function typescript tells me that I received a promise of type AddUpdateResponse.
In reality what I get back is a promise of type Cart.
How can I fix this?
My commercejs and types packages are both on 2.8.0 version.
The text was updated successfully, but these errors were encountered: