Is it possible to restrict Generic type to string | number only?
string | number
Here is the example of the function I\'m trying to type (each element of the array needs