swc/crates/swc_ecma_parser/tests/tsc/moduleResolutionWithoutExtension7.json
2022-03-22 07:54:08 +00:00

51 lines
942 B
JSON

{
"type": "Module",
"span": {
"start": 134,
"end": 164,
"ctxt": 0
},
"body": [
{
"type": "TsImportEqualsDeclaration",
"span": {
"start": 134,
"end": 164,
"ctxt": 0
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
"start": 141,
"end": 144,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"moduleRef": {
"type": "TsExternalModuleReference",
"span": {
"start": 147,
"end": 163,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 155,
"end": 162,
"ctxt": 0
},
"value": "./foo",
"raw": "\"./foo\""
}
}
}
],
"interpreter": null
}