File

src/app/Cart.ts

Index

Properties

Properties

menuItem
menuItem: literal type
Type : literal type
quantity
quantity: number
Type : number
export interface Cart {
  _id: string;
  user: string;
  items: CartItem[];
}

export interface CartItem {
  menuItem: {
    _id:string;
    name: string;
    price: number;
  };
  quantity: number;
}

results matching ""

    No results matching ""