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.
- 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.
View the pull request 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
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- Jun 24, 2025labeledtypescript-bot
- Jun 24, 2025labeledtypescript-bot
- Jun 24, 2025changes requestedRyanCavanaugh↗
- Jun 24, 2025changes requestedRyanCavanaugh↗
- Jun 24, 2025changes requestedRyanCavanaugh↗
- Jun 24, 2025changes requestedRyanCavanaugh↗
Read next
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.