Typescript, Generics, Polymorphism.
object just like our Optional type. Another example of a mapped type for a function that modifies any provided object with string values: // An object with string properties type StringObject = { [key: string]: string; }; // A mapped type that converts string properties to uppercase preserving the