Type Challenges Judge
Problems
Progress
Ranking
Reverse
Implement the type version of Array.reverse
Array.reverse
For example:
type a = Reverse<['a', 'b']> // ['b', 'a'] type b = Reverse<['a', 'b', 'c']> // ['c', 'b', 'a']