{ "type": "Script", "span": { "start": 1, "end": 26, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 1, "end": 26, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 11, "end": 12, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 13, "end": 26, "ctxt": 0 }, "body": [ { "type": "TsMethodSignature", "span": { "start": 17, "end": 24, "ctxt": 0 }, "readonly": false, "key": { "type": "NumericLiteral", "span": { "start": 17, "end": 18, "ctxt": 0 }, "value": 2.0, "raw": "2" }, "computed": false, "optional": false, "params": [], "typeAnn": null, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 18, "end": 21, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 19, "end": 20, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 19, "end": 20, "ctxt": 0 }, "value": "T", "optional": false }, "in": false, "out": false, "constraint": null, "default": null } ] } } ] } } ], "interpreter": null }