Type Alias SaleItem

SaleItem: {
    productId: string;
    qty: number;
    name: string;
    image: string;
    description: string;
}

A product to be purchased

Type declaration

  • productId: string

    The id of the product

  • qty: number

    The quantity to be purchased

  • name: string

    The name of the item

  • image: string

    The image url of the item

  • description: string

    The description of the item