Angular and TypeScript basics — Custom Pipes
Sep 6, 2018 · 3 min read

Last post, we added some basic pipe information to my http://www.kritner.com/solar-projection page. I noticed that due to the way my array worked, starting at index 0, the data in the table shows the first year as “year 0”. Yes, I could change several places in the code to start with index 1, update the calls to the compounding interest to use index — 1, etc, but that seems like a PITA. Surely we could just do a…
