Type alias Cart

Cart: {
    items: CartItem[];
    total: number;
}

Type declaration

  • items: CartItem[]

    List of items in the cart

  • total: number

    Cart total price as a floating point number

Generated using TypeDoc