29. implement Shift<T>
Share
- 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<[]> // []- 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<[]> // []