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

Member predicate ReExportDefaultSpecifier::getExportedName

Gets the name under which the symbol is exported.

For example, consider these five exports:

export { x }
export { y as z }
export function f() {}
export default 42
export * from 'd'

The exported names for the first four of them are, respectively, x, z, f and default, while the last one does not have an exported name since it does not export a unique symbol.

string getExportedName()