Type Alias RemoveLastTupleEntry<T>

RemoveLastTupleEntry: T extends [...(infer Head), any?] ? Head : any[]

Remove the last entry in a tuple.

Type Parameters

  • T extends any[]