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

# new/mod.ts
export function identity(value: unknown): unknown { return value; }

# output.json
{
  "modifiedModules": {
    "file:///mod.ts": {
      "modified": [
        {
          "name": "identity",
          "declarations": {
            "modified": [
              {
                "kind": "function",
                "defChanges": {
                  "type": "function",
                  "paramsChange": {
                    "modified": [
                      {
                        "index": 0,
                        "typeChange": {
                          "old": {
                            "repr": "T",
                            "kind": "typeRef",
                            "value": {
                              "typeName": "T",
                              "resolution": {
                                "kind": "typeParam",
                                "declaringName": "identity",
                                "declaringKind": "function"
                              }
                            }
                          },
                          "new": {
                            "repr": "unknown",
                            "kind": "keyword",
                            "value": "unknown"
                          }
                        }
                      }
                    ]
                  },
                  "returnTypeChange": {
                    "old": {
                      "repr": "T",
                      "kind": "typeRef",
                      "value": {
                        "typeName": "T",
                        "resolution": {
                          "kind": "typeParam",
                          "declaringName": "identity",
                          "declaringKind": "function"
                        }
                      }
                    },
                    "new": {
                      "repr": "unknown",
                      "kind": "keyword",
                      "value": "unknown"
                    }
                  },
                  "typeParamsChange": {
                    "removed": [
                      {
                        "name": "T"
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      ]
    }
  }
}
