{ "type": "Script", "span": { "start": 0, "end": 154, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 6, "end": 7, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 0, "end": 24, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 10, "end": 22, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 10, "end": 13, "ctxt": 0 }, "value": "foo", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 13, "end": 21, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 15, "end": 21, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "TsInterfaceDeclaration", "span": { "start": 25, "end": 53, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 35, "end": 36, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 37, "end": 53, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 39, "end": 51, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 39, "end": 42, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 42, "end": 50, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 44, "end": 50, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 55, "end": 154, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 62, "end": 63, "ctxt": 0 }, "value": "M", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 64, "end": 154, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 76, "end": 77, "ctxt": 0 }, "value": "D", "optional": false }, "declare": false, "span": { "start": 70, "end": 106, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 88, "end": 100, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 88, "end": 91, "ctxt": 0 }, "value": "bar", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 91, "end": 99, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 93, "end": 99, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "TsInterfaceDeclaration", "span": { "start": 112, "end": 152, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 122, "end": 123, "ctxt": 0 }, "value": "D", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 124, "end": 152, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 134, "end": 146, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 134, "end": 137, "ctxt": 0 }, "value": "bar", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 137, "end": 145, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 139, "end": 145, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } } ] } } ], "interpreter": null }