We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eb8c69 commit c44f99aCopy full SHA for c44f99a
javascript/ql/src/semmle/javascript/Variables.qll
@@ -500,7 +500,7 @@ class VariableDeclarator extends Expr, @vardeclarator {
500
/** Gets the expression specifying the initial value of the declared variable(s), if any. */
501
Expr getInit() { result = this.getChildExpr(1) }
502
503
- /** Gets the TypeScript type annotation for the declared variable or binding pattern. */
+ /** Gets the type annotation for the declared variable or binding pattern. */
504
TypeAnnotation getTypeAnnotation() {
505
result = this.getChildTypeExpr(2)
506
or
0 commit comments