Files
TypeScript/tests
copilot-swe-agent[bot] d85f072ddd Fix: Only allow synthetic defaults for declaration files in export specifiers
Corrected the fix to only allow synthetic defaults when re-exporting
from declaration files (not TypeScript source files). This aligns with
the issue description which states that declaration files may correspond
to CommonJS modules at runtime where a default import can reference the
whole module.exports symbol.

Only tests targeting .d.ts files should pass without errors:
- reexportMissingDefault4.ts (targets b.d.ts) ✓
- reexportMissingDefault5.ts (targets b.d.ts) ✓

Tests targeting .ts files correctly maintain their errors:
- reexportMissingDefault.ts, 1, 2, 3, 6, 7 (all target b.ts)

Co-authored-by: andrewbranch <3277153+andrewbranch@users.noreply.github.com>
2025-11-14 01:06:49 +00:00
..