{ "type": "Program", "statements": [ { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "TSPropertySignature", "computed": false, "optional": false, "readonly": false, "key": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 16 } } }, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 24 } } }, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 26 } } } ], "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 26 } } }, "id": { "type": "Identifier", "name": "I", "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 12 } } }, "extends": [], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 26 } } }, { "type": "ExpressionStatement", "expression": { "type": "ArrowFunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [ { "type": "ObjectPattern", "properties": [ { "type": "Property", "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 19, "column": 3 }, "end": { "line": 19, "column": 4 } } }, "value": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 19, "column": 3 }, "end": { "line": 19, "column": 4 } } }, "kind": "init", "loc": { "start": { "line": 19, "column": 3 }, "end": { "line": 19, "column": 4 } } } ], "typeAnnotation": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "I", "loc": { "start": { "line": 19, "column": 7 }, "end": { "line": 19, "column": 8 } } }, "loc": { "start": { "line": 19, "column": 7 }, "end": { "line": 19, "column": 8 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 9 } } } ], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 15 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 15 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 15 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 15 } } }, { "type": "ExpressionStatement", "expression": { "type": "ArrowFunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [ { "type": "ArrayPattern", "elements": [ { "type": "Identifier", "name": "b", "loc": { "start": { "line": 20, "column": 3 }, "end": { "line": 20, "column": 4 } } } ], "typeAnnotation": { "type": "TSArrayType", "elementType": { "type": "TSNumberKeyword", "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 12 } } }, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 14 } } }, "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 20, "column": 15 } } } ], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 20, "column": 19 }, "end": { "line": 20, "column": 21 } } }, "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 20, "column": 21 } } }, "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 20, "column": 21 } } }, "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 20, "column": 21 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 21, "column": 1 } } }