{ "type": "Program", "statements": [ { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "TSPropertySignature", "computed": false, "optional": false, "readonly": false, "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 6 } } }, "typeAnnotation": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "B", "decorators": [], "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 9 } } }, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 9 } } }, "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 10 } } }, { "type": "TSPropertySignature", "computed": false, "optional": false, "readonly": false, "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 6 } } }, "typeAnnotation": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 9 } } }, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 9 } } }, "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 10 } } } ], "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 20, "column": 2 } } }, "id": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 12 } } }, "extends": [], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 20, "column": 2 } } }, { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "TSPropertySignature", "computed": false, "optional": false, "readonly": false, "key": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 23, "column": 5 }, "end": { "line": 23, "column": 6 } } }, "typeAnnotation": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 9 } } }, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 9 } } }, "loc": { "start": { "line": 23, "column": 5 }, "end": { "line": 23, "column": 10 } } } ], "loc": { "start": { "line": 22, "column": 23 }, "end": { "line": 24, "column": 2 } } }, "id": { "type": "Identifier", "name": "B", "decorators": [], "loc": { "start": { "line": 22, "column": 11 }, "end": { "line": 22, "column": 12 } } }, "extends": [ { "type": "TSInterfaceHeritage", "expression": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 22 } } }, "loc": { "start": { "line": 22, "column": 23 }, "end": { "line": 22, "column": 22 } } }, "loc": { "start": { "line": 22, "column": 23 }, "end": { "line": 22, "column": 22 } } } ], "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 24, "column": 2 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "foo", "typeAnnotation": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "B", "decorators": [], "loc": { "start": { "line": 26, "column": 10 }, "end": { "line": 26, "column": 11 } } }, "loc": { "start": { "line": 26, "column": 10 }, "end": { "line": 26, "column": 11 } } }, "decorators": [], "loc": { "start": { "line": 26, "column": 5 }, "end": { "line": 26, "column": 8 } } }, "init": null, "loc": { "start": { "line": 26, "column": 5 }, "end": { "line": 26, "column": 8 } } } ], "kind": "var", "loc": { "start": { "line": 26, "column": 1 }, "end": { "line": 26, "column": 12 } } }, { "type": "ExpressionStatement", "expression": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 28, "column": 4 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 28, "column": 5 }, "end": { "line": 28, "column": 6 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 28, "column": 6 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 28, "column": 7 }, "end": { "line": 28, "column": 8 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 28, "column": 8 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 10 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 28, "column": 10 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 28, "column": 11 }, "end": { "line": 28, "column": 12 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 28, "column": 12 } } }, "property": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 14 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 28, "column": 14 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 28, "column": 15 }, "end": { "line": 28, "column": 16 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 28, "column": 16 } } }, "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 28, "column": 17 } } }, { "type": "ExpressionStatement", "expression": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 4 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 29, "column": 5 }, "end": { "line": 29, "column": 6 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 6 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 29, "column": 7 }, "end": { "line": 29, "column": 8 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 8 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 10 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 10 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 29, "column": 11 }, "end": { "line": 29, "column": 12 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 12 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 29, "column": 14 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 14 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 29, "column": 16 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 16 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 18 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 18 } } }, "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 19 } } }, { "type": "ExpressionStatement", "expression": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "foo", "decorators": [], "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 4 } } }, "property": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 30, "column": 5 }, "end": { "line": 30, "column": 6 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 6 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 30, "column": 7 }, "end": { "line": 30, "column": 8 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 8 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 10 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 10 } } }, "property": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 30, "column": 11 }, "end": { "line": 30, "column": 12 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 12 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 30, "column": 13 }, "end": { "line": 30, "column": 14 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 14 } } }, "property": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 30, "column": 16 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 16 } } }, "property": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 30, "column": 17 }, "end": { "line": 30, "column": 18 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 18 } } }, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 19 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 31, "column": 1 } } }