The first readonly array or tuple.
The second readonly array or tuple.
type Z1 = List.Zip<[1, 2], ['a', 'b']>; // readonly [[1, 'a'], [2, 'b']]
type Z2 = List.Zip<[1, 2, 3], ['a', 'b']>; // readonly [[1, 'a'], [2, 'b']]
type Z3 = List.Zip<readonly number[], readonly string[]>; // readonly (readonly [number, string])[]
type Z4 = List.Zip<[1, 2], readonly string[]>; // readonly [[1, string], [2, string]]
type Z5 = List.Zip<readonly number[], ['a', 'b']>; // readonly [[number, 'a'], [number, 'b']]
Creates pairs of elements from two readonly arrays or tuples
AandB. If the arrays/tuples have different lengths, the resulting type reflects pairing up to the shortest length, potentially using the general element type for the longer array if one is a general array.