Skip to content

Commit

Permalink
fix: Add itemCount to cart interface in fscommerce (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
olkorsia authored and bweissbart committed Oct 23, 2019
1 parent acf8358 commit 53b02c3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/fscommerce/src/Commerce/types/Cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ export interface Cart<T extends CartItem = CartItem> {
* shipments, each having its own tracking information.
*/
shipments?: Shipment[];

/**
* The total amount of cart items.
*
* @example. '3'
*/
itemCount?: number;
}

/**
Expand Down

0 comments on commit 53b02c3

Please sign in to comment.