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

Member predicate Module::getDefaultOrBulkExport

Gets the ES2015 default export from this module, or for other types of modules, gets a bulk exported node.

This can be used to determine which value a default-import will likely refer to, as the interaction between different module types is not standardized.

Node getDefaultOrBulkExport()