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

Member predicate TypeVariableType::getAHostDeclaration

Gets a declaration of the type or function declaring this type parameter.

In the case of multiply declared interfaces, there may be more than one declaration of the type variable.

Some type variables have no associated host declaration.

TypeParameterized getAHostDeclaration()