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

Member predicate TypeAnnotation::hasUnderlyingType

Holds if this is a reference to the type with qualified name globalName relative to the global scope, or is declared as a subtype thereof, or is a union or intersection containing such a type.

predicate hasUnderlyingType(string globalName)