{ "type": "Script", "span": { "start": 1, "end": 489, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 1, "end": 40, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 11, "end": 12, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 13, "end": 40, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 19, "end": 29, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 19, "end": 20, "ctxt": 0 }, "value": "x", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 20, "end": 28, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 22, "end": 28, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 42, "end": 81, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 52, "end": 53, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 54, "end": 81, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 60, "end": 70, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 60, "end": 61, "ctxt": 0 }, "value": "x", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 61, "end": 69, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 63, "end": 69, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 83, "end": 188, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 90, "end": 91, "ctxt": 0 }, "value": "M", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 92, "end": 188, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 98, "end": 134, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 108, "end": 109, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 109, "end": 112, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 110, "end": 111, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 110, "end": 111, "ctxt": 0 }, "value": "T", "optional": false }, "in": false, "out": false, "const": false, "constraint": null, "default": null } ] }, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 113, "end": 134, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 123, "end": 128, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 123, "end": 124, "ctxt": 0 }, "value": "x", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 124, "end": 127, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 126, "end": 127, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 126, "end": 127, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": null } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 140, "end": 186, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 150, "end": 151, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 151, "end": 154, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 152, "end": 153, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 152, "end": 153, "ctxt": 0 }, "value": "T", "optional": false }, "in": false, "out": false, "const": false, "constraint": null, "default": null } ] }, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 155, "end": 186, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 165, "end": 170, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 165, "end": 166, "ctxt": 0 }, "value": "x", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 166, "end": 169, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 168, "end": 169, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 168, "end": 169, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": null } ] } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 190, "end": 247, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 197, "end": 199, "ctxt": 0 }, "value": "M2", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 200, "end": 247, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 206, "end": 242, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 216, "end": 217, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 217, "end": 220, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 218, "end": 219, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 218, "end": 219, "ctxt": 0 }, "value": "T", "optional": false }, "in": false, "out": false, "const": false, "constraint": null, "default": null } ] }, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 221, "end": 242, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 231, "end": 236, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 231, "end": 232, "ctxt": 0 }, "value": "x", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 232, "end": 235, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 234, "end": 235, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 234, "end": 235, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": null } ] } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 249, "end": 353, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 256, "end": 258, "ctxt": 0 }, "value": "M2", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 259, "end": 353, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 265, "end": 351, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 275, "end": 276, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 276, "end": 279, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 277, "end": 278, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 277, "end": 278, "ctxt": 0 }, "value": "T", "optional": false }, "in": false, "out": false, "const": false, "constraint": null, "default": null } ] }, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 280, "end": 351, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 290, "end": 295, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 290, "end": 291, "ctxt": 0 }, "value": "x", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 291, "end": 294, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 293, "end": 294, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 293, "end": 294, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": null } ] } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 355, "end": 416, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 362, "end": 364, "ctxt": 0 }, "value": "M3", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 365, "end": 416, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 371, "end": 414, "ctxt": 0 }, "declaration": { "type": "TsInterfaceDeclaration", "span": { "start": 378, "end": 414, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 388, "end": 389, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 389, "end": 392, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 390, "end": 391, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 390, "end": 391, "ctxt": 0 }, "value": "T", "optional": false }, "in": false, "out": false, "const": false, "constraint": null, "default": null } ] }, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 393, "end": 414, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 403, "end": 408, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 403, "end": 404, "ctxt": 0 }, "value": "x", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 404, "end": 407, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 406, "end": 407, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 406, "end": 407, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": null } ] } } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 418, "end": 489, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 425, "end": 427, "ctxt": 0 }, "value": "M3", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 428, "end": 489, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 434, "end": 487, "ctxt": 0 }, "declaration": { "type": "TsInterfaceDeclaration", "span": { "start": 441, "end": 487, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 451, "end": 452, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 452, "end": 455, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 453, "end": 454, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 453, "end": 454, "ctxt": 0 }, "value": "T", "optional": false }, "in": false, "out": false, "const": false, "constraint": null, "default": null } ] }, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 456, "end": 487, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 466, "end": 471, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 466, "end": 467, "ctxt": 0 }, "value": "x", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 467, "end": 470, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 469, "end": 470, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 469, "end": 470, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": null } ] } } } ] } } ], "interpreter": null }