Member predicate TypeScript::TupleType::getRestElementType

Gets the type of the rest element, if there is one.

For example, the rest element of [number, ...string[]] is string.

Type getRestElementType()