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

Member predicate JSDocNamedTypeExpr::getClass

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

This unfolds nullability modifiers and generic type applications.

ClassNode getClass()