I\'m trying to create a class in TypeScript that doesn\'t compute all the information it can contain until it\'s first requested but caches it after that. The logic basicall