{
  "type": "Program",
  "statements": [
    {
      "type": "TSTypeAliasDeclaration",
      "id": {
        "type": "Identifier",
        "name": "Mapper",
        "loc": {
          "start": {
            "line": 17,
            "column": 6
          },
          "end": {
            "line": 17,
            "column": 12
          }
        }
      },
      "typeAnnotation": {
        "type": "TSFunctionType",
        "params": [
          {
            "type": "Identifier",
            "name": "x",
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "T",
                "loc": {
                  "start": {
                    "line": 17,
                    "column": 32
                  },
                  "end": {
                    "line": 17,
                    "column": 33
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 17,
                  "column": 32
                },
                "end": {
                  "line": 17,
                  "column": 33
                }
              }
            },
            "loc": {
              "start": {
                "line": 17,
                "column": 29
              },
              "end": {
                "line": 17,
                "column": 30
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypeReference",
          "typeName": {
            "type": "Identifier",
            "name": "U",
            "loc": {
              "start": {
                "line": 17,
                "column": 38
              },
              "end": {
                "line": 17,
                "column": 39
              }
            }
          },
          "loc": {
            "start": {
              "line": 17,
              "column": 38
            },
            "end": {
              "line": 17,
              "column": 39
            }
          }
        },
        "loc": {
          "start": {
            "line": 17,
            "column": 28
          },
          "end": {
            "line": 17,
            "column": 39
          }
        }
      },
      "typeParameters": {
        "type": "TSTypeParameterDeclaration",
        "params": [
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "T",
              "loc": {
                "start": {
                  "line": 17,
                  "column": 16
                },
                "end": {
                  "line": 17,
                  "column": 17
                }
              }
            },
            "in": true,
            "out": false,
            "loc": {
              "start": {
                "line": 17,
                "column": 13
              },
              "end": {
                "line": 17,
                "column": 18
              }
            }
          },
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "U",
              "loc": {
                "start": {
                  "line": 17,
                  "column": 23
                },
                "end": {
                  "line": 17,
                  "column": 24
                }
              }
            },
            "in": false,
            "out": true,
            "loc": {
              "start": {
                "line": 17,
                "column": 19
              },
              "end": {
                "line": 17,
                "column": 25
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 17,
            "column": 12
          },
          "end": {
            "line": 17,
            "column": 25
          }
        }
      },
      "loc": {
        "start": {
          "line": 17,
          "column": 1
        },
        "end": {
          "line": 17,
          "column": 40
        }
      }
    }
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 1
    },
    "end": {
      "line": 17,
      "column": 40
    }
  }
}
