type Arr1 = ['a', 'b', 'c']
type Arr2 = [3, 2, 1]
type Tail = Last<Arr1>
type Head = First<Arr2>
Advent
of
TypeScript
Partners
FrontendMastersTypeHero