1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "TSInterfaceDeclaration", 6 "body": { 7 "type": "TSInterfaceBody", 8 "body": [ 9 { 10 "type": "TSMethodSignature", 11 "computed": false, 12 "optional": false, 13 "isGetAccessor": false, 14 "isSetAccessor": true, 15 "key": { 16 "type": "Identifier", 17 "name": "set", 18 "loc": { 19 "start": { 20 "line": 18, 21 "column": 9 22 }, 23 "end": { 24 "line": 18, 25 "column": 12 26 } 27 } 28 }, 29 "params": [ 30 { 31 "type": "Identifier", 32 "name": "p", 33 "typeAnnotation": { 34 "type": "TSStringKeyword", 35 "loc": { 36 "start": { 37 "line": 18, 38 "column": 15 39 }, 40 "end": { 41 "line": 18, 42 "column": 21 43 } 44 } 45 }, 46 "loc": { 47 "start": { 48 "line": 18, 49 "column": 13 50 }, 51 "end": { 52 "line": 18, 53 "column": 14 54 } 55 } 56 } 57 ], 58 "loc": { 59 "start": { 60 "line": 18, 61 "column": 5 62 }, 63 "end": { 64 "line": 18, 65 "column": 23 66 } 67 } 68 }, 69 { 70 "type": "TSMethodSignature", 71 "computed": false, 72 "optional": false, 73 "isGetAccessor": true, 74 "isSetAccessor": false, 75 "key": { 76 "type": "Identifier", 77 "name": "get", 78 "loc": { 79 "start": { 80 "line": 19, 81 "column": 9 82 }, 83 "end": { 84 "line": 19, 85 "column": 12 86 } 87 } 88 }, 89 "params": [], 90 "typeAnnotation": { 91 "type": "TSNumberKeyword", 92 "loc": { 93 "start": { 94 "line": 19, 95 "column": 15 96 }, 97 "end": { 98 "line": 19, 99 "column": 21 100 } 101 } 102 }, 103 "loc": { 104 "start": { 105 "line": 19, 106 "column": 5 107 }, 108 "end": { 109 "line": 19, 110 "column": 22 111 } 112 } 113 } 114 ], 115 "loc": { 116 "start": { 117 "line": 17, 118 "column": 14 119 }, 120 "end": { 121 "line": 20, 122 "column": 2 123 } 124 } 125 }, 126 "id": { 127 "type": "Identifier", 128 "name": "I1", 129 "loc": { 130 "start": { 131 "line": 17, 132 "column": 11 133 }, 134 "end": { 135 "line": 17, 136 "column": 13 137 } 138 } 139 }, 140 "extends": [], 141 "loc": { 142 "start": { 143 "line": 17, 144 "column": 1 145 }, 146 "end": { 147 "line": 20, 148 "column": 2 149 } 150 } 151 } 152 ], 153 "loc": { 154 "start": { 155 "line": 1, 156 "column": 1 157 }, 158 "end": { 159 "line": 20, 160 "column": 2 161 } 162 } 163} 164