CodeQL library for JavaScript
Search

Member predicate CallSignatureType::getRestParameterType

Gets the type of the rest parameter, if any.

For example, for the signature (...y: string[]), this gets the type string.

Type getRestParameterType()