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

Member predicate ExternalModuleDeclaration::getNameLiteral

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

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