CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (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()