- /// <reference path="./membership.ts" />
- /// <reference path="utilityfunctions.ts" />
- // Notice the difference with ES2015 module import.
- import util = Utility.Fees;
- let memberName = 'Elaine';
- let memberNumber = 789;
- Membership.AddMember(memberName);
- Membership.Cards.IssueCard(memberNumber);
- let fee = util.CalculateLateFees(10);
- console.log(`Late fee: ${fee}`);
|