Member predicate TupleType::getRestElementType
Gets the type of the rest element, if there is one.
For example, the rest element of [number, ...string[]]
is string
.
Gets the type of the rest element, if there is one.
For example, the rest element of [number, ...string[]]
is string
.