{ "type": "Program", "statements": [ { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "TSMethodSignature", "computed": false, "optional": false, "isGetAccessor": false, "isSetAccessor": true, "key": { "type": "Identifier", "name": "set", "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 12 } } }, "params": [ { "type": "Identifier", "name": "p", "typeAnnotation": { "type": "TSStringKeyword", "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 21 } } }, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 14 } } } ], "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 23 } } }, { "type": "TSMethodSignature", "computed": false, "optional": false, "isGetAccessor": true, "isSetAccessor": false, "key": { "type": "Identifier", "name": "get", "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 12 } } }, "params": [], "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 19, "column": 15 }, "end": { "line": 19, "column": 21 } } }, "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 22 } } } ], "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 20, "column": 2 } } }, "id": { "type": "Identifier", "name": "I1", "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 13 } } }, "extends": [], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 20, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 20, "column": 2 } } }