23. implement LengthOfTuple<T>

TypeScript

  - accepted / - tried

Tuple typeの長さを返すLengthOfTuple<T>を実装してください。

type A = LengthOfTuple<['B', 'F', 'E']> // 3type B = LengthOfTuple<[]> // 0

5分間以内で解いてみて