swc/crates/swc_ecma_parser/tests/tsc/ts-expect-error-js.json

54 lines
1.0 KiB
JSON

{
"type": "Script",
"span": {
"start": 182,
"end": 194,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 182,
"end": 194,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 188,
"end": 193,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 188,
"end": 189,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 192,
"end": 193,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"definite": false
}
]
}
],
"interpreter": null
}