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

Member predicate TypeExpr::getClass

Gets the class referenced by this type annotation, if any.

This unfolds nullability modifiers and generic type applications.

ClassNode getClass()