26. ReverseTuple<T> を実装してください。

TypeScript
お役に立つのか?

  - accepted / - tried

Implement ReverseTuple<T> to reverse a tuple type.

type A = ReverseTuple<[string, number, boolean]> // [boolean, number, string]
type B = ReverseTuple<[1,2,3]> // [3,2,1]
type C = ReverseTuple<[]> // []

5分間以内で解いてみて

ディスカス(8)