Typescript, React, Web Development, Object Oriented, Compilers.
there are only two types acceptable, so the object passed in must match either one of those custom defined types. The rest is pretty much the same as before. Finally, the main page where all the great things happen can also contain various different types. I am talking about the PricePage component