| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}}, |
| 7 |
"sourceType": "module", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "DeclareExportDeclaration", |
| 12 |
"start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}}, |
| 13 |
"declaration": { |
| 14 |
"type": "FunctionTypeAnnotation", |
| 15 |
"start":23,"end":43,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":43,"index":43}}, |
| 16 |
"params": [ |
| 17 |
{ |
| 18 |
"type": "FunctionTypeParam", |
| 19 |
"start":24,"end":32,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":32,"index":32}}, |
| 20 |
"name": { |
| 21 |
"type": "Identifier", |
| 22 |
"start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25},"identifierName":"a"}, |
| 23 |
"name": "a" |
| 24 |
}, |
| 25 |
"optional": false, |
| 26 |
"typeAnnotation": { |
| 27 |
"type": "NumberTypeAnnotation", |
| 28 |
"start":26,"end":32,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":32,"index":32}} |
| 29 |
} |
| 30 |
} |
| 31 |
], |
| 32 |
"rest": null, |
| 33 |
"this": null, |
| 34 |
"returnType": { |
| 35 |
"type": "NumberTypeAnnotation", |
| 36 |
"start":37,"end":43,"loc":{"start":{"line":1,"column":37,"index":37},"end":{"line":1,"column":43,"index":43}} |
| 37 |
}, |
| 38 |
"typeParameters": null |
| 39 |
}, |
| 40 |
"default": true |
| 41 |
} |
| 42 |
], |
| 43 |
"directives": [] |
| 44 |
} |
| 45 |
} |