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