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

51 lines
942 B
JSON

{
"type": "Module",
"span": {
"start": 135,
"end": 165,
"ctxt": 0
},
"body": [
{
"type": "TsImportEqualsDeclaration",
"span": {
"start": 135,
"end": 165,
"ctxt": 0
},
"declare": false,
"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
}