It's easy to create a generic pair type ( simplest possible Tuple ) i.e.
type Pair<A, B> = [A, B]
The question is how to create an type which represents and array of such generic pairs.
The only requirement is for element in the array to be a pair. The type of the first element and the type of the second element ought to be polymorphic, any does not make the cut, otherwise this would be satisfactory:
type Pair = [any, any]
type Pairs = Pair[]
Array<[any, any]>work? I don't understand what you mean by "polymorphic" here.