{
 "flight": {
  "id": 9647,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix parameter-property with default value emitting `T | undefined` instead of `T`",
  "number": 1479,
  "source": "aidev",
  "commits": 3,
  "debrief": "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.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 306,
  "closed_at": "2025-07-30T15:12:45+00:00",
  "deletions": 51,
  "merged_at": "2025-07-30T15:12:45+00:00",
  "opened_at": "2025-07-30T12:02:53+00:00",
  "task_type": "fix",
  "body_chars": 1569,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:20:52.318792+00:00",
  "enriched_at": null,
  "body_excerpt": "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.\n\nFor example, given this class:\n\n```typescript\nexport class SomeClass {\n  c",
  "review_count": 4,
  "files_changed": 22,
  "hours_to_merge": 3.16,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:20:52.318792+00:00",
  "reviewer_excerpt": "It incorrectly said that it was exact optional property types (strict mode was the key for writing the test), but the fix is correct; a",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/microsoft/typescript-go/pull/1479#pullrequestreview-3071264730"
 },
 "repo": {
  "name": "typescript-go",
  "owner": "microsoft",
  "stars": 26089,
  "license": "Apache-2.0",
  "full_name": "microsoft/typescript-go",
  "primary_language": "Go"
 },
 "author": {
  "login": "Copilot",
  "name": null,
  "github_profile": "https://github.com/Copilot",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-07-30T15:12:45+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "gabritto"
  },
  {
   "at": "2025-07-30T15:12:45+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "gabritto"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Add guidance to use @strict: true by default in new compiler tests",
   "number": 1480,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 4,
   "deletions": 2,
   "merged_at": "2025-07-30T17:26:31+00:00",
   "opened_at": "2025-07-30T12:38:45+00:00",
   "task_type": "docs",
   "files_changed": 2,
   "hours_to_merge": 4.8
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix comment formatting bug that mangled `*/` tokens",
   "number": 1401,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 202,
   "deletions": 131,
   "merged_at": "2025-07-22T16:46:34+00:00",
   "opened_at": "2025-07-14T03:03:29+00:00",
   "task_type": "fix",
   "files_changed": 5,
   "hours_to_merge": 205.72
  },
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Fix conditional types with infer clause in TypeScript declaration generation",
   "number": 1382,
   "outcome": "burn",
   "index_ok": true,
   "additions": 1095,
   "deletions": 936,
   "merged_at": null,
   "opened_at": "2025-07-10T07:13:28+00:00",
   "task_type": "fix",
   "files_changed": 81,
   "hours_to_merge": null
  }
 ],
 "pr_url": "https://github.com/microsoft/typescript-go/pull/1479",
 "page": "https://agentriders.com/logs/microsoft/typescript-go/1479/"
}