{ "type": "Script", "span": { "start": 1, "end": 95, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 18, "end": 22, "ctxt": 0 }, "value": "foo3", "optional": false }, "declare": true, "params": [ { "type": "Parameter", "span": { "start": 23, "end": 48, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 23, "end": 48, "ctxt": 0 }, "value": "cb", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 25, "end": 48, "ctxt": 0 }, "typeAnnotation": { "type": "TsFunctionType", "span": { "start": 27, "end": 48, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 28, "end": 37, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 29, "end": 37, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 31, "end": 37, "ctxt": 0 }, "kind": "number" } } } ], "typeParams": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 39, "end": 48, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 42, "end": 48, "ctxt": 0 }, "kind": "number" } } } } } } ], "decorators": [], "span": { "start": 1, "end": 61, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 49, "end": 60, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeQuery", "span": { "start": 51, "end": 60, "ctxt": 0 }, "exprName": { "type": "Identifier", "span": { "start": 58, "end": 60, "ctxt": 0 }, "value": "cb", "optional": false }, "typeArguments": null } } }, { "type": "VariableDeclaration", "span": { "start": 62, "end": 95, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 66, "end": 94, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 66, "end": 68, "ctxt": 0 }, "value": "r5", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 71, "end": 94, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 71, "end": 75, "ctxt": 0 }, "value": "foo3", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "ArrowFunctionExpression", "span": { "start": 76, "end": 93, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 77, "end": 86, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 78, "end": 86, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 80, "end": 86, "ctxt": 0 }, "kind": "number" } } } ], "body": { "type": "StringLiteral", "span": { "start": 91, "end": 93, "ctxt": 0 }, "value": "", "raw": "''" }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } ], "typeArguments": null }, "definite": false } ] } ], "interpreter": null }