swc/crates/swc_ecma_parser/tests/tsc/exportNonLocalDeclarations.json

78 lines
1.5 KiB
JSON

{
"type": "Module",
"span": {
"start": 0,
"end": 42,
"ctxt": 0
},
"body": [
{
"type": "ExportNamedDeclaration",
"span": {
"start": 0,
"end": 18,
"ctxt": 0
},
"specifiers": [
{
"type": "ExportSpecifier",
"span": {
"start": 9,
"end": 15,
"ctxt": 0
},
"orig": {
"type": "Identifier",
"span": {
"start": 9,
"end": 15,
"ctxt": 0
},
"value": "string",
"optional": false
},
"exported": null,
"isTypeOnly": false
}
],
"source": null,
"typeOnly": false,
"asserts": null
},
{
"type": "ExportNamedDeclaration",
"span": {
"start": 19,
"end": 42,
"ctxt": 0
},
"specifiers": [
{
"type": "ExportSpecifier",
"span": {
"start": 33,
"end": 39,
"ctxt": 0
},
"orig": {
"type": "Identifier",
"span": {
"start": 33,
"end": 39,
"ctxt": 0
},
"value": "number",
"optional": false
},
"exported": null,
"isTypeOnly": false
}
],
"source": null,
"typeOnly": true,
"asserts": null
}
],
"interpreter": null
}