{ "type": "Script", "span": { "start": 0, "end": 382, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 15, "end": 24, "ctxt": 0 }, "value": "BaseClass", "optional": false }, "declare": false, "span": { "start": 0, "end": 52, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 29, "end": 50, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 38, "end": 41, "ctxt": 0 }, "value": "bar", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 41, "end": 49, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 43, "end": 49, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": true, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": true, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 60, "end": 66, "ctxt": 0 }, "value": "Broken", "optional": false }, "declare": false, "span": { "start": 54, "end": 87, "ctxt": 0 }, "decorators": [], "body": [], "superClass": { "type": "Identifier", "span": { "start": 75, "end": 84, "ctxt": 0 }, "value": "BaseClass", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "TsInterfaceDeclaration", "span": { "start": 140, "end": 177, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 150, "end": 158, "ctxt": 0 }, "value": "IGetters", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 159, "end": 177, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 163, "end": 175, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 163, "end": 166, "ctxt": 0 }, "value": "bar", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 166, "end": 174, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 168, "end": 174, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 178, "end": 214, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 188, "end": 194, "ctxt": 0 }, "value": "Broken", "optional": false }, "declare": false, "typeParams": null, "extends": [ { "type": "TsExpressionWithTypeArguments", "span": { "start": 203, "end": 211, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 203, "end": 211, "ctxt": 0 }, "value": "IGetters", "optional": false }, "typeArguments": null } ], "body": { "type": "TsInterfaceBody", "span": { "start": 212, "end": 214, "ctxt": 0 }, "body": [] } }, { "type": "ExpressionStatement", "span": { "start": 216, "end": 232, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 216, "end": 232, "ctxt": 0 }, "object": { "type": "NewExpression", "span": { "start": 216, "end": 228, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 220, "end": 226, "ctxt": 0 }, "value": "Broken", "optional": false }, "arguments": [], "typeArguments": null }, "property": { "type": "Identifier", "span": { "start": 229, "end": 232, "ctxt": 0 }, "value": "bar", "optional": false } } }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 240, "end": 258, "ctxt": 0 }, "value": "IncorrectlyExtends", "optional": false }, "declare": false, "span": { "start": 234, "end": 279, "ctxt": 0 }, "decorators": [], "body": [], "superClass": { "type": "Identifier", "span": { "start": 267, "end": 276, "ctxt": 0 }, "value": "BaseClass", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "TsInterfaceDeclaration", "span": { "start": 280, "end": 325, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 290, "end": 306, "ctxt": 0 }, "value": "IncorrectGetters", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 307, "end": 325, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 311, "end": 323, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 311, "end": 314, "ctxt": 0 }, "value": "bar", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 314, "end": 322, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 316, "end": 322, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 326, "end": 382, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 336, "end": 354, "ctxt": 0 }, "value": "IncorrectlyExtends", "optional": false }, "declare": false, "typeParams": null, "extends": [ { "type": "TsExpressionWithTypeArguments", "span": { "start": 363, "end": 379, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 363, "end": 379, "ctxt": 0 }, "value": "IncorrectGetters", "optional": false }, "typeArguments": null } ], "body": { "type": "TsInterfaceBody", "span": { "start": 380, "end": 382, "ctxt": 0 }, "body": [] } } ], "interpreter": null }