swc/crates/swc_ecma_parser/tests/tsc/moduleResolutionWithoutExtension2.json
2022-02-04 17:08:38 +09:00

55 lines
1.0 KiB
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",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
}
],
"interpreter": null
}