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

94 lines
1.9 KiB
JSON

{
"type": "Module",
"span": {
"start": 1,
"end": 61,
"ctxt": 0
},
"body": [
{
"type": "ExportDefaultExpression",
"span": {
"start": 1,
"end": 30,
"ctxt": 0
},
"expression": {
"type": "ObjectExpression",
"span": {
"start": 16,
"end": 30,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 22,
"end": 25,
"ctxt": 0
},
"value": "lol",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 27,
"end": 28,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
},
{
"type": "ExportDefaultExpression",
"span": {
"start": 32,
"end": 61,
"ctxt": 0
},
"expression": {
"type": "ObjectExpression",
"span": {
"start": 47,
"end": 61,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 53,
"end": 56,
"ctxt": 0
},
"value": "lol",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 58,
"end": 59,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
]
}
}
],
"interpreter": null
}