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

Member predicate VariableDeclarator::getTypeAnnotation

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

TypeAnnotation getTypeAnnotation()