CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1-dev (changelog, source)
Search

Member predicate Type::getSignature

Gets the nth signature of the given kind present on this type.

To get a signature of a specific kind, consider using getFunctionSignature, getConstructorSignature.

Note that union and intersection types do not have signatures, even if their elements contain signatures.

CallSignatureType getSignature(SignatureKind kind, int n)