swc/crates/swc_ecma_parser/tests/tsc/moduleResolutionWithoutExtension7.json
Donny/강동윤 3958f1792c
refactor(es/ast): Remove unused fields (#7518)
**Related issue:**

 - Closes #7347.
 - Closes #7487.
2023-06-12 08:02:34 +00:00

50 lines
918 B
JSON

{
"type": "Module",
"span": {
"start": 135,
"end": 165,
"ctxt": 0
},
"body": [
{
"type": "TsImportEqualsDeclaration",
"span": {
"start": 135,
"end": 165,
"ctxt": 0
},
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
"start": 142,
"end": 145,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"moduleRef": {
"type": "TsExternalModuleReference",
"span": {
"start": 148,
"end": 164,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 156,
"end": 163,
"ctxt": 0
},
"value": "./foo",
"raw": "\"./foo\""
}
}
}
],
"interpreter": null
}