# old/mod.ts
export function process<T extends string>(value: T): T { return value; }

# new/mod.ts
export function process<T extends number>(value: T): T { return value; }

# output.json
{
  "modifiedModules": {
    "file:///mod.ts": {
      "modified": [
        {
          "name": "process",
          "declarations": {
            "modified": [
              {
                "kind": "function",
                "defChanges": {
                  "type": "function",
                  "typeParamsChange": {
                    "modified": [
                      {
                        "name": "T",
                        "constraintChange": {
                          "old": {
                            "repr": "string",
                            "kind": "keyword",
                            "value": "string"
                          },
                          "new": {
                            "repr": "number",
                            "kind": "keyword",
                            "value": "number"
                          }
                        }
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      ]
    }
  }
}
