File

src/app/Cart.ts

Index

Properties

Properties

_id
_id: string
Type : string
items
items: CartItem[]
Type : CartItem[]
user
user: string
Type : string
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 ""