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

Member predicate ExternalModuleDeclaration::getNameLiteral

Gets the string literal denoting the module name, such as "fs" in:

declare module "fs" {...}
StringLiteral getNameLiteral()