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

78 lines
1.5 KiB
JSON
Raw Normal View History

{
"type": "Module",
"span": {
"start": 1,
"end": 43,
"ctxt": 0
},
"body": [
{
"type": "ExportNamedDeclaration",
"span": {
"start": 1,
"end": 19,
"ctxt": 0
},
"specifiers": [
{
"type": "ExportSpecifier",
"span": {
"start": 10,
"end": 16,
"ctxt": 0
},
"orig": {
"type": "Identifier",
"span": {
"start": 10,
"end": 16,
"ctxt": 0
},
"value": "string",
"optional": false
},
"exported": null,
"isTypeOnly": false
}
],
"source": null,
"typeOnly": false,
"with": null
},
{
"type": "ExportNamedDeclaration",
"span": {
"start": 20,
"end": 43,
"ctxt": 0
},
"specifiers": [
{
"type": "ExportSpecifier",
"span": {
"start": 34,
"end": 40,
"ctxt": 0
},
"orig": {
"type": "Identifier",
"span": {
"start": 34,
"end": 40,
"ctxt": 0
},
"value": "number",
"optional": false
},
"exported": null,
"isTypeOnly": false
}
],
"source": null,
"typeOnly": true,
"with": null
}
],
"interpreter": null
}