CodeQL library for JavaScript
Search

Member predicate CallSignatureType::getRestParameterArrayType

Gets the type of the rest parameter as an array, if it exists.

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

PlainArrayType getRestParameterArrayType()