# old/mod.ts
export function items(): Iterable<number> { return []; }

# new/mod.ts
export function* items(): Iterable<number> { yield 1; }

# output.json
{
  "modifiedModules": {
    "file:///mod.ts": {
      "modified": [
        {
          "name": "items",
          "declarations": {
            "modified": [
              {
                "kind": "function",
                "defChanges": {
                  "type": "function",
                  "isGeneratorChange": {
                    "old": false,
                    "new": true
                  }
                }
              }
            ]
          }
        }
      ]
    }
  }
}
