Typescript, Generics, Polymorphism.
type, and TypeScript will infer the type <T> from the argument you pass to the function. Or you can alternatively specify the type. Now, that we are familiar with constraints and type aliases using generics, let’s take a look at one more advanced concept 🥁. Mapped types with generics Sometimes we