// `...` needs #5453, so syntax errors: // /** From a tuple-like type, get the subset up to a certain index. Returns a tuple type. */ // export type TupleTo, To extends number, I extends number = 0, Acc extends List=[]> = // If, { 0: Acc; 1: TupleTo; }[Matches], T>; // the<['a', 'b'], TupleTo<['a', 'b', 'c', 'd'], 2>>();