Flight Log / microsoft/TypeScript #61935

Fix BigInt literal error in ambient contexts when targeting < ES2020 — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in microsoft/TypeScript on Jun 24, 2025; merged after rework in 28.6 h: +199 −92, 10 files, 8 reviews.

All agent flights in microsoft/TypeScript · GitHub Copilot flights

Merged after reworkGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+199 −92
Files
10
Commits
8
Reviews
8 (4 ✕)
To merge
28.6 h
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

Copilot fixes a bug in microsoft/TypeScript where BigInt literals in ambient contexts were wrongly reported as errors when targeting below ES2020. The change spans 10 files, with 199 additions and 92 deletions over eight commits. Eight reviews requested four changes, including line-ending fixes and a .d.ts test. The PR merged after 28.64 hours.

“Fix your line endings in checker.ts by running `hereby format` Add a sub-file in your test to check `.d.ts` contexts”

— from the review (source)

From the pull request description

This PR fixes an issue where BigInt literals in ambient contexts (declare statements, .d.ts files, ambient modules) incorrectly reported the error "BigInt literals are not available when targeting lower than ES2020" even though BigInt literals in ambient contexts are only type information and don't …

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —committedcopilot-swe-agent[bot]
  4. —committedcopilot-swe-agent[bot]
  5. —reviewed
  6. —committedcopilot-swe-agent[bot]
  7. —reviewed
  8. —committedcopilot-swe-agent[bot]
  9. —reviewed
  10. —committedcopilot-swe-agent[bot]
  11. —reviewed
  12. Jun 24, 2025labeledtypescript-bot
  13. Jun 24, 2025labeledtypescript-bot
  14. Jun 24, 2025changes requestedRyanCavanaugh↗
  15. Jun 24, 2025changes requestedRyanCavanaugh↗
  16. Jun 24, 2025changes requestedRyanCavanaugh↗
  17. Jun 24, 2025changes requestedRyanCavanaugh↗

Cite this flight: AgentRiders Flight Log, microsoft/TypeScript#61935, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/TypeScript/61935/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.