CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.15-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()