Update javascript/ql/src/semmle/javascript/Variables.qll

Co-Authored-By: asger-semmle <42069257+asger-semmle@users.noreply.github.com>
This commit is contained in:
Max Schaefer
2019-04-16 17:51:10 +01:00
committed by Asger F
parent 6eb8c692b1
commit c44f99a204

View File

@@ -500,7 +500,7 @@ class VariableDeclarator extends Expr, @vardeclarator {
/** Gets the expression specifying the initial value of the declared variable(s), if any. */
Expr getInit() { result = this.getChildExpr(1) }
/** Gets the TypeScript type annotation for the declared variable or binding pattern. */
/** Gets the type annotation for the declared variable or binding pattern. */
TypeAnnotation getTypeAnnotation() {
result = this.getChildTypeExpr(2)
or