{
  "type": "File",
  "start":0,"end":26,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}},
  "program": {
    "type": "Program",
    "start":0,"end":26,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}},
    "sourceType": "module",
    "interpreter": null,
    "body": [
      {
        "type": "FunctionDeclaration",
        "start":0,"end":26,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}},
        "id": {
          "type": "Identifier",
          "start":9,"end":10,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10},"identifierName":"f"},
          "name": "f"
        },
        "generator": false,
        "async": false,
        "typeParameters": {
          "type": "TSTypeParameterDeclaration",
          "start":10,"end":13,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":13}},
          "params": [
            {
              "type": "TSTypeParameter",
              "start":11,"end":12,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}},
              "name": "T"
            }
          ]
        },
        "params": [
          {
            "type": "Identifier",
            "start":14,"end":19,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":19},"identifierName":"x"},
            "name": "x",
            "optional": true,
            "typeAnnotation": {
              "type": "TSTypeAnnotation",
              "start":16,"end":19,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":19}},
              "typeAnnotation": {
                "type": "TSTypeReference",
                "start":18,"end":19,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}},
                "typeName": {
                  "type": "Identifier",
                  "start":18,"end":19,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19},"identifierName":"T"},
                  "name": "T"
                }
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypeAnnotation",
          "start":20,"end":23,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":23}},
          "typeAnnotation": {
            "type": "TSTypeReference",
            "start":22,"end":23,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}},
            "typeName": {
              "type": "Identifier",
              "start":22,"end":23,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23},"identifierName":"T"},
              "name": "T"
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "start":24,"end":26,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":26}},
          "body": [],
          "directives": []
        }
      }
    ],
    "directives": []
  }
}