CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.0.3-dev (changelog, source)
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()