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

54 lines
1007 B
JSON

{
"type": "Module",
"span": {
"start": 252,
"end": 280,
"ctxt": 0
},
"body": [
{
"type": "ImportDeclaration",
"span": {
"start": 252,
"end": 280,
"ctxt": 0
},
"specifiers": [
{
"type": "ImportSpecifier",
"span": {
"start": 261,
"end": 264,
"ctxt": 0
},
"local": {
"type": "Identifier",
"span": {
"start": 261,
"end": 264,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"imported": null,
"isTypeOnly": false
}
],
"source": {
"type": "StringLiteral",
"span": {
"start": 272,
"end": 279,
"ctxt": 0
},
"value": "./foo",
"raw": "\"./foo\""
},
"typeOnly": false,
"asserts": null
}
],
"interpreter": null
}