{ "type": "Script", "span": { "start": 1, "end": 32, "ctxt": 0 }, "body": [ { "type": "TsModuleDeclaration", "span": { "start": 1, "end": 32, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 8, "end": 9, "ctxt": 0 }, "value": "M", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 10, "end": 32, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 24, "end": 27, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 15, "end": 30, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": null } ] } } ], "interpreter": null }