29. implement Shift<T>

TypeScript
Is this helpful ?

  - accepted / - tried

Implement Shift<T> to shift the first item of a tuple type.

type A = Shift<[1,2,3]> // [2,3]
type B = Shift<[1]> // []
type C = Shift<[]> // []

Let's try to solve this problem within 5 minutes.

Discuss(6)