{ "type": "Script", "span": { "start": 43, "end": 82, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 58, "end": 61, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 43, "end": 82, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 79, "end": 82, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": true, "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" } ] } } } } ], "interpreter": null }