Typescript, Generics, Polymorphism.
example is bound to the type alias. It means when the type alias is used, and it’s used during function declaration, it must accept some type value. <T> in the second example is bound to the function signature. This means that when you call reverseArray, you need to provide an array of a specific