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

Member predicate Expr::getType

Gets the static type of this expression, as determined by the TypeScript type system.

Has no result if the expression is in a JavaScript file or in a TypeScript file that was extracted without type information.

Type getType()