Hi, I want to define an array type which would be the logical extension of the following, but for arrays of arbitrary length.
type Func<X,Y> = (obj:X) => Y;
type Arr<A,B,C,D,E,...> = [Func<A,B>,Func<B,C>,Func<C,D>,Func<D,E>...]
Regardless of whether this is the best solution to my specific problem, I am curious if typescript supports this kind of type.
i think this might need to be recursive for type safety