{ "type": "Program", "statements": [ { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "TSPropertySignature", "computed": false, "optional": false, "readonly": false, "key": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 6 } } }, "typeAnnotation": { "type": "TSUnionType", "types": [ { "type": "TSStringKeyword", "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 15 } } }, { "type": "TSNumberKeyword", "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 11 } } } ], "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 19, "column": 11 } } }, "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 20, "column": 6 } } }, { "type": "TSIndexSignature", "parameters": { "type": "Identifier", "name": "b", "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 16 } } }, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 7 } } }, "typeAnnotation": { "type": "TSStringKeyword", "loc": { "start": { "line": 20, "column": 20 }, "end": { "line": 20, "column": 26 } } }, "readonly": false, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 27 } } } ], "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 21, "column": 2 } } }, "id": { "type": "Identifier", "name": "I", "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 12 } } }, "extends": [], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 21, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 22, "column": 1 } } }