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