2 lines
71 B
TypeScript
2 lines
71 B
TypeScript
|
type TupleWithRest = [number, ...(1 extends 2 ? string[] : number[])];
|