{ "type": "Script", "span": { "start": 17, "end": 90, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 26, "end": 29, "ctxt": 0 }, "value": "bar", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 30, "end": 37, "ctxt": 0 }, "decorators": [], "pat": { "type": "RestElement", "span": { "start": 30, "end": 37, "ctxt": 0 }, "rest": { "start": 30, "end": 33, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 33, "end": 37, "ctxt": 0 }, "value": "rest", "optional": false, "typeAnnotation": null }, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 17, "end": 42, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 39, "end": 42, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 52, "end": 55, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 56, "end": 65, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 56, "end": 65, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 57, "end": 65, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 59, "end": 65, "ctxt": 0 }, "kind": "number" } } } }, { "type": "Parameter", "span": { "start": 67, "end": 76, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 67, "end": 76, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 68, "end": 76, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 70, "end": 76, "ctxt": 0 }, "kind": "string" } } } }, { "type": "Parameter", "span": { "start": 78, "end": 85, "ctxt": 0 }, "decorators": [], "pat": { "type": "RestElement", "span": { "start": 78, "end": 85, "ctxt": 0 }, "rest": { "start": 78, "end": 81, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 81, "end": 85, "ctxt": 0 }, "value": "rest", "optional": false, "typeAnnotation": null }, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 43, "end": 90, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 87, "end": 90, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }