Typescript, Generics, Polymorphism.
...input]; }; The difference to the inline types we used before is that the generic <T> is specified during the declaration of reverseArray and concatenateArrays functions, not when they are called. When the functions are called, TS expects an array of numbers in reverseArray and an array of