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

Member predicate VarAccess::getVariable

Gets the variable this identifier refers to.

When analyzing TypeScript code, a variable may spuriously be resolved as a global due to incomplete modeling of exported variables in namespaces.

Variable getVariable()