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 exported from moduleName under the name exportedName, or is declared as a subtype thereof, or is a union or intersection containing such a type.

predicate hasUnderlyingType(string moduleName, string exportedName)