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

Member predicate TypeAssertion::getTypeAnnotation

Gets the type to cast to, that is, the T in E as T or <T> E.

TypeExpr getTypeAnnotation()