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

Member predicate ExportNamedDeclaration::getAnExportedDecl

Gets an identifier, if any, exported as part of a declaration by this named export.

Does not include names of export specifiers. That is, it includes the v in export var v but not in export {v}.

Identifier getAnExportedDecl()