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