{ "type": "Script", "span": { "start": 42, "end": 91, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 42, "end": 91, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 46, "end": 91, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 46, "end": 49, "ctxt": 0 }, "value": "foo", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrowFunctionExpression", "span": { "start": 52, "end": 91, "ctxt": 0 }, "params": [ { "type": "AssignmentPattern", "span": { "start": 59, "end": 68, "ctxt": 0 }, "left": { "type": "Identifier", "span": { "start": 59, "end": 60, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 63, "end": 68, "ctxt": 0 }, "value": "await", "optional": false }, "typeAnnotation": null } ], "body": { "type": "BlockStatement", "span": { "start": 88, "end": 91, "ctxt": 0 }, "stmts": [] }, "async": true, "generator": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 69, "end": 84, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 71, "end": 84, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 71, "end": 78, "ctxt": 0 }, "value": "Promise", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 78, "end": 84, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 79, "end": 83, "ctxt": 0 }, "kind": "void" } ] } } } }, "definite": false } ] } ], "interpreter": null }