Flight Log / microsoft/TypeScript #61922
Fix trailing comma support in import type attributes — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in microsoft/TypeScript on Jun 23, 2025; a burn — closed unmerged after human review: +181 −10, 7 files, 0 reviews.
- Lines
- +181 −10
- Files
- 7
- Commits
- 2
- Reviews
- 0
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot takes on a fix in microsoft/TypeScript to allow trailing commas in type-level import attributes, matching dynamic import. The change spans seven files, with 181 additions and 10 deletions across two commits. The reviewer found the implementation correct but the testcase weak and the formatting broken. It closed unmerged after human review, a burn.
“Compare/contrast to #61920 * ✅ Implementation is correct * ⚠️ Testcase isn't great (has spurious errors, doesn't show variations) * ❌ Formatting is broken”
— from the review (source)
From the pull request description
TypeScript currently allows trailing commas in dynamic import attributes but not in type-level import attributes, creating an inconsistency in the language. ## Problem ```typescript // This works (dynamic import) const a = import("./module", { with: { type: "json" }, }) // This fails with "'}' ex…
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]
- Jun 23, 2025labeledtypescript-bot
- Jun 23, 2025labeledtypescript-bot
- Jun 23, 2025closedRyanCavanaugh
Read next
Cite this flight: AgentRiders Flight Log, microsoft/TypeScript#61922, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/TypeScript/61922/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.