Type Challenges Judge

Shift

Implement the type version of Array.shift

For example

type Result = Shift<[3, 2, 1]> // [2, 1]