Typescript, Generics, Polymorphism.
the fetchData function call, TS will throw an error, as the basic type “object” doesn’t contain a property ‘name’. Now we are forced to specify a concrete type that would satisfy the minimum type of “object”. It will contain any properties and values that an object can hold. These were the inline