{
  "type": "File",
  "start":0,"end":14,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}},
  "program": {
    "type": "Program",
    "start":0,"end":14,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}},
    "sourceType": "script",
    "interpreter": null,
    "body": [
      {
        "type": "ExpressionStatement",
        "start":0,"end":14,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}},
        "expression": {
          "type": "ChainExpression",
          "start":0,"end":13,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}},
          "expression": {
            "type": "CallExpression",
            "start":0,"end":13,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}},
            "callee": {
              "type": "MemberExpression",
              "start":0,"end":8,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}},
              "object": {
                "type": "Identifier",
                "start":0,"end":3,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3},"identifierName":"foo"},
                "name": "foo"
              },
              "computed": false,
              "property": {
                "type": "Identifier",
                "start":5,"end":8,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":8},"identifierName":"foo"},
                "name": "foo"
              },
              "optional": true
            },
            "arguments": [],
            "typeParameters": {
              "type": "TSTypeParameterInstantiation",
              "start":8,"end":11,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":11}},
              "params": [
                {
                  "type": "TSTypeReference",
                  "start":9,"end":10,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}},
                  "typeName": {
                    "type": "Identifier",
                    "start":9,"end":10,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10},"identifierName":"T"},
                    "name": "T"
                  }
                }
              ]
            },
            "optional": false
          }
        }
      }
    ]
  }
}