Jake Bailey
Jake Bailey
Using https://www.npmjs.com/package/every-ts, this bisects to #58366. @weswigham
It looks like this bit was added: ```ts if (location.flags & NodeFlags.Ambient) { return; // References within types and declaration files are never going to contribute to retaining a JS...
Merged main for you. As far as I'm concerned, this PR is correct; I tested `dtsBundler` with it and it still correctly strips internal declarations via `isInternalDeclaration`. But I know...
Close/reopening to rerun CI and show the failure.
Took the liberty to apply the described change.
Just checking: @typescript-bot test it
Honestly this feels right to me? @typescript-bot test it
@typescript-bot test it
@typescript-bot pack this
@typescript-bot test it