Array: Zip

Medium
array
infer
conditional types
recursion

Description:

In This Challenge, You should implement a type Zip<T, U>, T and U must be Tuple

type exp = Zip<[1, 2], [true, false]> // expected to be [[1, true], [2, false]]

Code

Loading...