{ "type": "Module", "span": { "start": 39, "end": 305, "ctxt": 0 }, "body": [ { "type": "ImportDeclaration", "span": { "start": 39, "end": 70, "ctxt": 0 }, "specifiers": [ { "type": "ImportSpecifier", "span": { "start": 53, "end": 56, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 53, "end": 56, "ctxt": 0 }, "value": "ns2", "optional": false }, "imported": null, "isTypeOnly": false } ], "source": { "type": "StringLiteral", "span": { "start": 64, "end": 69, "ctxt": 0 }, "value": "./b", "raw": "'./b'" }, "typeOnly": true, "asserts": null }, { "type": "ExportDeclaration", "span": { "start": 71, "end": 161, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 78, "end": 161, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 88, "end": 91, "ctxt": 0 }, "value": "ns1", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 92, "end": 161, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 96, "end": 159, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 103, "end": 159, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 113, "end": 119, "ctxt": 0 }, "value": "nested", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 120, "end": 159, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 126, "end": 155, "ctxt": 0 }, "declaration": { "type": "TsTypeAliasDeclaration", "span": { "start": 133, "end": 155, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 138, "end": 139, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 142, "end": 154, "ctxt": 0 }, "typeName": { "type": "TsQualifiedName", "left": { "type": "TsQualifiedName", "left": { "type": "Identifier", "span": { "start": 142, "end": 145, "ctxt": 0 }, "value": "ns2", "optional": false }, "right": { "type": "Identifier", "span": { "start": 146, "end": 152, "ctxt": 0 }, "value": "nested", "optional": false } }, "right": { "type": "Identifier", "span": { "start": 153, "end": 154, "ctxt": 0 }, "value": "T", "optional": false } }, "typeParams": null } } } ] } } } ] } } }, { "type": "ImportDeclaration", "span": { "start": 183, "end": 214, "ctxt": 0 }, "specifiers": [ { "type": "ImportSpecifier", "span": { "start": 197, "end": 200, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 197, "end": 200, "ctxt": 0 }, "value": "ns1", "optional": false }, "imported": null, "isTypeOnly": false } ], "source": { "type": "StringLiteral", "span": { "start": 208, "end": 213, "ctxt": 0 }, "value": "./a", "raw": "'./a'" }, "typeOnly": true, "asserts": null }, { "type": "ExportDeclaration", "span": { "start": 215, "end": 305, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 222, "end": 305, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 232, "end": 235, "ctxt": 0 }, "value": "ns2", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 236, "end": 305, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 240, "end": 303, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 247, "end": 303, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 257, "end": 263, "ctxt": 0 }, "value": "nested", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 264, "end": 303, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 270, "end": 299, "ctxt": 0 }, "declaration": { "type": "TsTypeAliasDeclaration", "span": { "start": 277, "end": 299, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 282, "end": 283, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 286, "end": 298, "ctxt": 0 }, "typeName": { "type": "TsQualifiedName", "left": { "type": "TsQualifiedName", "left": { "type": "Identifier", "span": { "start": 286, "end": 289, "ctxt": 0 }, "value": "ns1", "optional": false }, "right": { "type": "Identifier", "span": { "start": 290, "end": 296, "ctxt": 0 }, "value": "nested", "optional": false } }, "right": { "type": "Identifier", "span": { "start": 297, "end": 298, "ctxt": 0 }, "value": "T", "optional": false } }, "typeParams": null } } } ] } } } ] } } } ], "interpreter": null }