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

Member predicate LocalTypeAccess::getLocalTypeName

Gets the local type name being referenced by this identifier, if any.

Names that refer to a declaration in an external d.ts file, such as in the built-in lib.d.ts prelude, do not have a local typename.

For example, in Array<number>, the Array name will usually not have a local type name as it is declared in lib.d.ts.

LocalTypeName getLocalTypeName()