"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const ShoppingCard_1 = require("./ShoppingCard");
const Payment_1 = require("./Payment");
let strategy = new Payment_1.CreditCardStrategy();
let shoppingCard = new ShoppingCard_1.ShoppingCard(strategy);
let item1 = new ShoppingCard_1.Item(20);
shoppingCard.AddItem(item1);
let result = shoppingCard.Pay();
console.log(result);
