Dynamically Add Property To Object Typescript Interview