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

51 lines
942 B
JSON

{
"type": "Module",
"span": {
"start": 136,
"end": 166,
"ctxt": 0
},
"body": [
{
"type": "TsImportEqualsDeclaration",
"span": {
"start": 136,
"end": 166,
"ctxt": 0
},
"declare": false,
"isExport": false,
"isTypeOnly": false,
"id": {
"type": "Identifier",
"span": {
"start": 143,
"end": 146,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"moduleRef": {
"type": "TsExternalModuleReference",
"span": {
"start": 149,
"end": 165,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 157,
"end": 164,
"ctxt": 0
},
"value": "./foo",
"raw": "\"./foo\""
}
}
}
],
"interpreter": null
}