Append an element to the end of a tuple.
Tuple type
Element to append
1.1.0
Creates a new tuple type with the specified element added at the end.
type Tup = [ number, string ];type Appended = TupleAppend< Tup, boolean >;// [ number, string, boolean ] Copy
type Tup = [ number, string ];type Appended = TupleAppend< Tup, boolean >;// [ number, string, boolean ]
Append an element to the end of a tuple.