I am working on a TypeScript project for fun and ran into an interesting situation where I am unable to instantiate a reference to a class, likely because TypeScript assumes it