Flight Log / microsoft/typescript-go #1479
Fix parameter-property with default value emitting `T | undefined` instead of `T` — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in microsoft/typescript-go on Jul 30, 2025; merged clean in 3.2 h, merged by @gabritto: +306 −51, 22 files, 4 reviews.
- Lines
- +306 −51
- Files
- 22
- Commits
- 3
- Reviews
- 4
- To merge
- 3.2 h
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot opened a fix in microsoft/typescript-go. With exactOptionalPropertyTypes enabled, parameter-properties with default values were emitted in declaration files as T | undefined instead of T. The change spans 22 files, 306 additions, and 51 deletions across three commits. The pull request merged after 3.16 hours with no changes requested.
From the pull request description
When `exactOptionalPropertyTypes: true` is enabled, parameter-properties with default values were incorrectly being emitted as `T | undefined` instead of `T` in declaration files, diverging from TypeScript compiler behavior. For example, given this class: ```typescript export class SomeClass { c…
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]
- —reviewed
- —reviewed
- —reviewed
- —reviewed
- Jul 30, 2025mergedgabritto
- Jul 30, 2025closedgabritto
Read next
Cite this flight: AgentRiders Flight Log, microsoft/typescript-go#1479, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/typescript-go/1479/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.