{ "type": "Script", "span": { "start": 45, "end": 148, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 45, "end": 148, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 49, "end": 148, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 49, "end": 52, "ctxt": 0 }, "value": "foo", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrowFunctionExpression", "span": { "start": 55, "end": 148, "ctxt": 0 }, "params": [], "body": { "type": "BlockStatement", "span": { "start": 82, "end": 148, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 133, "end": 146, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 137, "end": 145, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 137, "end": 138, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 138, "end": 145, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 140, "end": 145, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 140, "end": 145, "ctxt": 0 }, "value": "await", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] } ] }, "async": true, "generator": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 63, "end": 78, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 65, "end": 78, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 65, "end": 72, "ctxt": 0 }, "value": "Promise", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 72, "end": 78, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 73, "end": 77, "ctxt": 0 }, "kind": "void" } ] } } } }, "definite": false } ] } ], "interpreter": null }