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

86 lines
1.7 KiB
JSON

{
"type": "Module",
"span": {
"start": 1,
"end": 77,
"ctxt": 0
},
"body": [
{
"type": "ExportDefaultExpression",
"span": {
"start": 1,
"end": 49,
"ctxt": 0
},
"expression": {
"type": "ObjectExpression",
"span": {
"start": 16,
"end": 48,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 22,
"end": 26,
"ctxt": 0
},
"value": "uhoh",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 28,
"end": 45,
"ctxt": 0
},
"value": "another default",
"raw": "\"another default\""
}
}
]
}
},
{
"type": "ExportDefaultDeclaration",
"span": {
"start": 51,
"end": 77,
"ctxt": 0
},
"decl": {
"type": "ClassExpression",
"identifier": {
"type": "Identifier",
"span": {
"start": 72,
"end": 73,
"ctxt": 0
},
"value": "C",
"optional": false
},
"span": {
"start": 66,
"end": 77,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
}
],
"interpreter": null
}