{ "type": "Program", "statements": [ { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func1", "decorators": [], "loc": { "start": { "line": 17, "column": 10 }, "end": { "line": 17, "column": 15 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 17, "column": 19 }, "end": { "line": 17, "column": 25 } } }, "decorators": [], "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 17 } } }, { "type": "Identifier", "name": "b", "typeAnnotation": { "type": "TSStringKeyword", "loc": { "start": { "line": 17, "column": 30 }, "end": { "line": 17, "column": 36 } } }, "decorators": [], "loc": { "start": { "line": 17, "column": 27 }, "end": { "line": 17, "column": 28 } } } ], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 17, "column": 38 }, "end": { "line": 17, "column": 41 } } }, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 41 } } }, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 41 } } }, { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func2", "decorators": [], "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 15 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "AssignmentPattern", "left": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "TSBooleanKeyword", "loc": { "start": { "line": 18, "column": 19 }, "end": { "line": 18, "column": 26 } } }, "decorators": [], "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 17 } } }, "right": { "type": "BooleanLiteral", "value": true, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 33 } } }, "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 33 } } }, { "type": "RestElement", "argument": { "type": "Identifier", "name": "b", "typeAnnotation": { "type": "TSArrayType", "elementType": { "type": "TSNumberKeyword", "loc": { "start": { "line": 18, "column": 41 }, "end": { "line": 18, "column": 47 } } }, "loc": { "start": { "line": 18, "column": 41 }, "end": { "line": 18, "column": 49 } } }, "decorators": [], "loc": { "start": { "line": 18, "column": 38 }, "end": { "line": 18, "column": 39 } } }, "loc": { "start": { "line": 18, "column": 35 }, "end": { "line": 18, "column": 39 } } } ], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 18, "column": 51 }, "end": { "line": 18, "column": 54 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 54 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 54 } } }, { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func3", "decorators": [], "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 15 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "AssignmentPattern", "left": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 17 } } }, "right": { "type": "NumberLiteral", "value": 6, "loc": { "start": { "line": 19, "column": 20 }, "end": { "line": 19, "column": 21 } } }, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 21 } } }, { "type": "ArrayPattern", "elements": [ { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 19, "column": 24 }, "end": { "line": 19, "column": 25 } } }, { "type": "Identifier", "name": "d", "decorators": [], "loc": { "start": { "line": 19, "column": 27 }, "end": { "line": 19, "column": 28 } } } ], "loc": { "start": { "line": 19, "column": 23 }, "end": { "line": 19, "column": 29 } } }, { "type": "Identifier", "name": "b", "optional": true, "decorators": [], "loc": { "start": { "line": 19, "column": 31 }, "end": { "line": 19, "column": 32 } } } ], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 19, "column": 35 }, "end": { "line": 19, "column": 38 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 38 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 38 } } }, { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func4", "decorators": [], "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 15 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ObjectPattern", "properties": [], "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "column": 27 } } }, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 19 } } }, { "type": "ArrayPattern", "elements": [ { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 20, "column": 30 }, "end": { "line": 20, "column": 31 } } }, { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 20, "column": 33 }, "end": { "line": 20, "column": 34 } } } ], "typeAnnotation": { "type": "TSArrayType", "elementType": { "type": "TSStringKeyword", "loc": { "start": { "line": 20, "column": 37 }, "end": { "line": 20, "column": 43 } } }, "loc": { "start": { "line": 20, "column": 37 }, "end": { "line": 20, "column": 45 } } }, "loc": { "start": { "line": 20, "column": 29 }, "end": { "line": 20, "column": 35 } } } ], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 20, "column": 47 }, "end": { "line": 20, "column": 50 } } }, "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 20, "column": 50 } } }, "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 20, "column": 50 } } }, { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func5", "decorators": [], "loc": { "start": { "line": 21, "column": 10 }, "end": { "line": 21, "column": 15 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "AssignmentPattern", "left": { "type": "ArrayPattern", "elements": [ { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 18 } } }, { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 21 } } } ], "typeAnnotation": { "type": "TSTupleType", "elementTypes": [ { "type": "TSNumberKeyword", "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 32 } } }, { "type": "TSStringKeyword", "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 40 } } } ], "loc": { "start": { "line": 21, "column": 24 }, "end": { "line": 21, "column": 40 } } }, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 22 } } }, "right": { "type": "ArrayExpression", "elements": [ { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 21, "column": 44 }, "end": { "line": 21, "column": 45 } } }, { "type": "StringLiteral", "value": "foo", "loc": { "start": { "line": 21, "column": 47 }, "end": { "line": 21, "column": 52 } } } ], "loc": { "start": { "line": 21, "column": 43 }, "end": { "line": 21, "column": 53 } } }, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 53 } } } ], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 21, "column": 55 }, "end": { "line": 21, "column": 58 } } }, "loc": { "start": { "line": 21, "column": 1 }, "end": { "line": 21, "column": 58 } } }, "loc": { "start": { "line": 21, "column": 1 }, "end": { "line": 21, "column": 58 } } }, { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func6", "decorators": [], "loc": { "start": { "line": 22, "column": 10 }, "end": { "line": 22, "column": 15 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "AssignmentPattern", "left": { "type": "ObjectPattern", "properties": [ { "type": "Property", "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 19 } } }, "value": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 19 } } }, "kind": "init", "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 19 } } }, { "type": "Property", "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 22 } } }, "value": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 22 } } }, "kind": "init", "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 22 } } } ], "typeAnnotation": { "type": "TSTypeLiteral", "members": [ { "type": "TSPropertySignature", "computed": false, "optional": false, "readonly": false, "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 29 } } }, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 37 } } }, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 38 } } }, { "type": "TSPropertySignature", "computed": false, "optional": false, "readonly": false, "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 22, "column": 40 } } }, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 22, "column": 42 }, "end": { "line": 22, "column": 48 } } }, "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 22, "column": 50 } } } ], "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 50 } } }, "loc": { "start": { "line": 22, "column": 16 }, "end": { "line": 22, "column": 24 } } }, "right": { "type": "ObjectExpression", "properties": [ { "type": "Property", "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 22, "column": 55 }, "end": { "line": 22, "column": 56 } } }, "value": { "type": "NumberLiteral", "value": 0, "loc": { "start": { "line": 22, "column": 58 }, "end": { "line": 22, "column": 59 } } }, "kind": "init", "loc": { "start": { "line": 22, "column": 55 }, "end": { "line": 22, "column": 59 } } }, { "type": "Property", "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 22, "column": 61 }, "end": { "line": 22, "column": 62 } } }, "value": { "type": "NumberLiteral", "value": 0, "loc": { "start": { "line": 22, "column": 64 }, "end": { "line": 22, "column": 65 } } }, "kind": "init", "loc": { "start": { "line": 22, "column": 61 }, "end": { "line": 22, "column": 65 } } } ], "loc": { "start": { "line": 22, "column": 53 }, "end": { "line": 22, "column": 67 } } }, "loc": { "start": { "line": 22, "column": 16 }, "end": { "line": 22, "column": 67 } } } ], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 22, "column": 69 }, "end": { "line": 22, "column": 72 } } }, "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 22, "column": 72 } } }, "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 22, "column": 72 } } }, { "type": "TSDeclareFunction", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func7", "decorators": [], "loc": { "start": { "line": 23, "column": 18 }, "end": { "line": 23, "column": 23 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ArrayPattern", "elements": [ { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 23, "column": 25 }, "end": { "line": 23, "column": 26 } } }, { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 23, "column": 28 }, "end": { "line": 23, "column": 29 } } } ], "typeAnnotation": { "type": "TSTupleType", "elementTypes": [ { "type": "TSNumberKeyword", "loc": { "start": { "line": 23, "column": 33 }, "end": { "line": 23, "column": 40 } } }, { "type": "TSStringKeyword", "loc": { "start": { "line": 23, "column": 41 }, "end": { "line": 23, "column": 48 } } } ], "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 48 } } }, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 30 } } } ], "declare": true, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 24, "column": 8 } } }, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 24, "column": 8 } } }, { "type": "TSDeclareFunction", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func8", "decorators": [], "loc": { "start": { "line": 24, "column": 18 }, "end": { "line": 24, "column": 23 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ObjectPattern", "properties": [ { "type": "Property", "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 24, "column": 26 }, "end": { "line": 24, "column": 27 } } }, "value": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 24, "column": 26 }, "end": { "line": 24, "column": 27 } } }, "kind": "init", "loc": { "start": { "line": 24, "column": 26 }, "end": { "line": 24, "column": 27 } } }, { "type": "Property", "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 30 } } }, "value": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 30 } } }, "kind": "init", "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 30 } } } ], "typeAnnotation": { "type": "TSTypeLiteral", "members": [ { "type": "TSPropertySignature", "computed": false, "optional": false, "readonly": false, "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 24, "column": 36 }, "end": { "line": 24, "column": 37 } } }, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 24, "column": 39 }, "end": { "line": 24, "column": 45 } } }, "loc": { "start": { "line": 24, "column": 36 }, "end": { "line": 24, "column": 46 } } }, { "type": "TSPropertySignature", "computed": false, "optional": false, "readonly": false, "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 24, "column": 47 }, "end": { "line": 24, "column": 48 } } }, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 24, "column": 50 }, "end": { "line": 24, "column": 56 } } }, "loc": { "start": { "line": 24, "column": 47 }, "end": { "line": 24, "column": 58 } } } ], "loc": { "start": { "line": 24, "column": 34 }, "end": { "line": 24, "column": 58 } } }, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 32 } } } ], "declare": true, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 25, "column": 8 } } }, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 25, "column": 8 } } }, { "type": "TSDeclareFunction", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func9", "decorators": [], "loc": { "start": { "line": 25, "column": 18 }, "end": { "line": 25, "column": 23 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ArrayPattern", "elements": [ { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 25, "column": 25 }, "end": { "line": 25, "column": 26 } } }, { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 25, "column": 28 }, "end": { "line": 25, "column": 29 } } } ], "typeAnnotation": { "type": "TSTupleType", "elementTypes": [ { "type": "TSNumberKeyword", "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 41 } } }, { "type": "TSStringKeyword", "loc": { "start": { "line": 25, "column": 42 }, "end": { "line": 25, "column": 49 } } } ], "loc": { "start": { "line": 25, "column": 33 }, "end": { "line": 25, "column": 49 } } }, "optional": true, "loc": { "start": { "line": 25, "column": 24 }, "end": { "line": 25, "column": 30 } } } ], "declare": true, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 26, "column": 8 } } }, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 26, "column": 8 } } }, { "type": "TSDeclareFunction", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "func10", "decorators": [], "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "column": 24 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "ObjectPattern", "properties": [ { "type": "Property", "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 26, "column": 27 }, "end": { "line": 26, "column": 28 } } }, "value": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 26, "column": 27 }, "end": { "line": 26, "column": 28 } } }, "kind": "init", "loc": { "start": { "line": 26, "column": 27 }, "end": { "line": 26, "column": 28 } } }, { "type": "Property", "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 31 } } }, "value": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 31 } } }, "kind": "init", "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 31 } } } ], "typeAnnotation": { "type": "TSTypeLiteral", "members": [ { "type": "TSPropertySignature", "computed": false, "optional": false, "readonly": false, "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 26, "column": 38 }, "end": { "line": 26, "column": 39 } } }, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 26, "column": 41 }, "end": { "line": 26, "column": 47 } } }, "loc": { "start": { "line": 26, "column": 38 }, "end": { "line": 26, "column": 48 } } }, { "type": "TSPropertySignature", "computed": false, "optional": false, "readonly": false, "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 26, "column": 49 }, "end": { "line": 26, "column": 50 } } }, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 26, "column": 52 }, "end": { "line": 26, "column": 58 } } }, "loc": { "start": { "line": 26, "column": 49 }, "end": { "line": 26, "column": 60 } } } ], "loc": { "start": { "line": 26, "column": 36 }, "end": { "line": 26, "column": 60 } } }, "optional": true, "loc": { "start": { "line": 26, "column": 25 }, "end": { "line": 26, "column": 33 } } } ], "declare": true, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 28, "column": 10 } } }, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 28, "column": 10 } } }, { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "TSCallSignatureDeclaration", "params": [ { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 15 } } }, "decorators": [], "loc": { "start": { "line": 29, "column": 6 }, "end": { "line": 29, "column": 7 } } }, { "type": "ObjectPattern", "properties": [ { "type": "Property", "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 29, "column": 19 }, "end": { "line": 29, "column": 20 } } }, "value": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 29, "column": 19 }, "end": { "line": 29, "column": 20 } } }, "kind": "init", "loc": { "start": { "line": 29, "column": 19 }, "end": { "line": 29, "column": 20 } } }, { "type": "Property", "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 29, "column": 22 }, "end": { "line": 29, "column": 23 } } }, "value": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 29, "column": 22 }, "end": { "line": 29, "column": 23 } } }, "kind": "init", "loc": { "start": { "line": 29, "column": 22 }, "end": { "line": 29, "column": 23 } } } ], "typeAnnotation": { "type": "TSTypeLiteral", "members": [ { "type": "TSPropertySignature", "computed": false, "optional": true, "readonly": false, "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 10 } } }, "typeAnnotation": { "type": "TSBooleanKeyword", "loc": { "start": { "line": 30, "column": 13 }, "end": { "line": 30, "column": 20 } } }, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 21 } } }, { "type": "TSPropertySignature", "computed": false, "optional": true, "readonly": false, "key": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 10 } } }, "typeAnnotation": { "type": "TSAnyKeyword", "loc": { "start": { "line": 31, "column": 13 }, "end": { "line": 31, "column": 16 } } }, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 17 } } } ], "loc": { "start": { "line": 29, "column": 28 }, "end": { "line": 32, "column": 6 } } }, "optional": true, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 25 } } } ], "returnType": { "type": "TSStringKeyword", "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 15 } } }, "loc": { "start": { "line": 29, "column": 5 }, "end": { "line": 32, "column": 16 } } } ], "loc": { "start": { "line": 28, "column": 22 }, "end": { "line": 33, "column": 2 } } }, "id": { "type": "Identifier", "name": "Interface1", "decorators": [], "loc": { "start": { "line": 28, "column": 11 }, "end": { "line": 28, "column": 21 } } }, "extends": [], "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 33, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 33, "column": 2 } } }