{ "type": "File", "start": 0, "end": 63, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 63 } }, "program": { "type": "Program", "start": 0, "end": 63, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 63 } }, "sourceType": "module", "body": [ { "type": "DeclareModule", "start": 0, "end": 63, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 63 } }, "id": { "type": "Identifier", "start": 15, "end": 16, "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 16 }, "identifierName": "A" }, "name": "A" }, "body": { "type": "BlockStatement", "start": 17, "end": 63, "loc": { "start": { "line": 1, "column": 17 }, "end": { "line": 1, "column": 63 } }, "body": [ { "type": "DeclareModuleExports", "start": 19, "end": 61, "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 61 } }, "typeAnnotation": { "type": "TypeAnnotation", "start": 41, "end": 61, "loc": { "start": { "line": 1, "column": 41 }, "end": { "line": 1, "column": 61 } }, "typeAnnotation": { "type": "ObjectTypeAnnotation", "start": 43, "end": 61, "loc": { "start": { "line": 1, "column": 43 }, "end": { "line": 1, "column": 61 } }, "callProperties": [], "properties": [ { "type": "ObjectTypeProperty", "start": 45, "end": 58, "loc": { "start": { "line": 1, "column": 45 }, "end": { "line": 1, "column": 58 } }, "key": { "type": "Identifier", "start": 45, "end": 48, "loc": { "start": { "line": 1, "column": 45 }, "end": { "line": 1, "column": 48 }, "identifierName": "foo" }, "name": "foo" }, "static": false, "kind": "init", "value": { "type": "FunctionTypeAnnotation", "start": 45, "end": 58, "loc": { "start": { "line": 1, "column": 45 }, "end": { "line": 1, "column": 58 } }, "params": [], "rest": null, "typeParameters": null, "returnType": { "type": "NumberTypeAnnotation", "start": 52, "end": 58, "loc": { "start": { "line": 1, "column": 52 }, "end": { "line": 1, "column": 58 } } } }, "optional": false } ], "indexers": [], "exact": false } } } ] }, "kind": "CommonJS" } ], "directives": [] } }