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

Co-Authored-By: asger-semmle <42069257+asger-semmle@users.noreply.github.com>
This commit is contained in:
Max Schaefer
2019-04-10 15:33:22 +01:00
committed by GitHub
parent 91f4916d07
commit 6ac72bd469

View File

@@ -585,7 +585,7 @@ class TypeExpr extends ExprOrType, @typeexpr {
/** Holds if this is the `bigint` type. */
predicate isBigInt() { none() }
/** Holds if this is the `const` keyword, occurding in a type assertion such as `x as const`. */
/** Holds if this is the `const` keyword, occurring in a type assertion such as `x as const`. */
predicate isConstKeyword() { none() }
/** Gets this type expression, with any surrounding parentheses removed. */