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

Member predicate VariableDeclarator::getTypeAnnotation

Gets the type annotation for the declared variable or binding pattern.

TypeAnnotation getTypeAnnotation()