type-challenges/questions/3192-medium-reverse
2021-09-11 14:29:28 +00:00
..
2021-09-11 22:28:42 +08:00
2021-09-11 14:29:28 +00:00
2021-09-11 22:28:42 +08:00
2021-09-11 22:28:42 +08:00

Reverse medium #tuple

by jiangshan @jiangshanmeta

Take the Challenge

Implement the type version of Array.reverse

For example:

type a = Reverse<['a', 'b']> // ['b', 'a']
type b = Reverse<['a', 'b', 'c']> // ['c', 'b', 'a']

Back Share your Solutions Check out Solutions