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