{
  "type": "File",
  "start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
  "errors": [
    "SyntaxError: Type parameters cannot appear on a constructor declaration. (2:13)"
  ],
  "program": {
    "type": "Program",
    "start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
    "sourceType": "module",
    "interpreter": null,
    "body": [
      {
        "type": "ClassDeclaration",
        "start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
        "id": {
          "type": "Identifier",
          "start":6,"end":7,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7},"identifierName":"C"},
          "name": "C"
        },
        "superClass": null,
        "body": {
          "type": "ClassBody",
          "start":8,"end":39,"loc":{"start":{"line":1,"column":8},"end":{"line":3,"column":1}},
          "body": [
            {
              "type": "ClassMethod",
              "start":12,"end":37,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":27}},
              "static": false,
              "key": {
                "type": "Identifier",
                "start":12,"end":23,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":13},"identifierName":"constructor"},
                "name": "constructor"
              },
              "computed": false,
              "kind": "constructor",
              "typeParameters": {
                "type": "TSTypeParameterDeclaration",
                "start":23,"end":26,"loc":{"start":{"line":2,"column":13},"end":{"line":2,"column":16}},
                "params": [
                  {
                    "type": "TSTypeParameter",
                    "start":24,"end":25,"loc":{"start":{"line":2,"column":14},"end":{"line":2,"column":15}},
                    "name": "T"
                  }
                ]
              },
              "id": null,
              "generator": false,
              "async": false,
              "params": [
                {
                  "type": "Identifier",
                  "start":27,"end":33,"loc":{"start":{"line":2,"column":17},"end":{"line":2,"column":23},"identifierName":"foo"},
                  "name": "foo",
                  "typeAnnotation": {
                    "type": "TSTypeAnnotation",
                    "start":30,"end":33,"loc":{"start":{"line":2,"column":20},"end":{"line":2,"column":23}},
                    "typeAnnotation": {
                      "type": "TSTypeReference",
                      "start":32,"end":33,"loc":{"start":{"line":2,"column":22},"end":{"line":2,"column":23}},
                      "typeName": {
                        "type": "Identifier",
                        "start":32,"end":33,"loc":{"start":{"line":2,"column":22},"end":{"line":2,"column":23},"identifierName":"T"},
                        "name": "T"
                      }
                    }
                  }
                }
              ],
              "body": {
                "type": "BlockStatement",
                "start":35,"end":37,"loc":{"start":{"line":2,"column":25},"end":{"line":2,"column":27}},
                "body": [],
                "directives": []
              }
            }
          ]
        }
      }
    ],
    "directives": []
  }
}