{ "type": "Program", "statements": [ { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "TSMethodSignature", "computed": false, "optional": false, "isGetAccessor": false, "isSetAccessor": false, "key": { "type": "Identifier", "name": "set1", "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 9 } } }, "params": [], "typeAnnotation": { "type": "TSVoidKeyword", "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 16 } } }, "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 17 } } }, { "type": "TSMethodSignature", "computed": false, "optional": false, "isGetAccessor": false, "isSetAccessor": false, "key": { "type": "Identifier", "name": "set2", "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 9 } } }, "params": [], "typeParameters": { "type": "TSTypeParameterDeclaration", "params": [ { "type": "TSTypeParameter", "name": { "type": "Identifier", "name": "T", "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 11 } } }, "in": false, "out": false, "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 12 } } } ], "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 12 } } }, "typeAnnotation": { "type": "TSVoidKeyword", "loc": { "start": { "line": 19, "column": 15 }, "end": { "line": 19, "column": 19 } } }, "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 20 } } } ], "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 20, "column": 4 } } }, "id": { "type": "Identifier", "name": "Obj", "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 14 } } }, "extends": [], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 20, "column": 4 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 20, "column": 4 } } }