{ "type": "Script", "span": { "start": 69, "end": 110, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 69, "end": 110, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 73, "end": 109, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 73, "end": 76, "ctxt": 0 }, "value": "foo", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrowFunctionExpression", "span": { "start": 79, "end": 109, "ctxt": 0 }, "params": [], "body": { "type": "BlockStatement", "span": { "start": 106, "end": 109, "ctxt": 0 }, "stmts": [] }, "async": true, "generator": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 87, "end": 102, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 89, "end": 102, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 89, "end": 96, "ctxt": 0 }, "value": "Promise", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 96, "end": 102, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 97, "end": 101, "ctxt": 0 }, "kind": "void" } ] } } } }, "definite": false } ] } ], "interpreter": null }