Skip to content

Conversation

@asgerf
Copy link
Contributor

@asgerf asgerf commented Nov 21, 2025

ExportDeclaration.getSourceNode and .exportsAs were global because they look through re-exports.

This PR splits these into a "direct" version that is local and ignores re-exports, and a non-direct version that is global and looks through re-exports.

One of the use-cases for the direct version is for API graphs to make a local over-approximation of the set of def-nodes we need, so that API::Node can become local.

@asgerf asgerf added the no-change-note-required This PR does not need a change note label Nov 21, 2025
@github-actions github-actions bot added the JS label Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JS no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant