{ "type": "Program", "statements": [ { "type": "TSInterfaceDeclaration", "body": { "type": "TSInterfaceBody", "body": [ { "type": "TSIndexSignature", "parameters": { "type": "Identifier", "name": "name", "typeAnnotation": { "type": "TSStringKeyword", "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 16 } } }, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 8 } } }, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 18, "column": 19 }, "end": { "line": 18, "column": 25 } } }, "readonly": false, "static": false, "loc": { "start": { "line": 18, "column": 3 }, "end": { "line": 18, "column": 26 } } } ], "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 19, "column": 2 } } }, "id": { "type": "Identifier", "name": "Dict", "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 17, "column": 15 } } }, "extends": [], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 19, "column": 2 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "dict", "typeAnnotation": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "Dict", "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 17 } } }, "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 17 } } }, "loc": { "start": { "line": 21, "column": 7 }, "end": { "line": 21, "column": 11 } } }, "init": { "type": "ObjectExpression", "properties": [ { "type": "Property", "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "value": "a", "loc": { "start": { "line": 22, "column": 3 }, "end": { "line": 22, "column": 6 } } }, "value": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 9 } } }, "kind": "init", "loc": { "start": { "line": 22, "column": 3 }, "end": { "line": 22, "column": 9 } } }, { "type": "Property", "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "value": "b", "loc": { "start": { "line": 23, "column": 3 }, "end": { "line": 23, "column": 6 } } }, "value": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 9 } } }, "kind": "init", "loc": { "start": { "line": 23, "column": 3 }, "end": { "line": 23, "column": 9 } } }, { "type": "Property", "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "value": "c", "loc": { "start": { "line": 24, "column": 3 }, "end": { "line": 24, "column": 6 } } }, "value": { "type": "NumberLiteral", "value": 3, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 9 } } }, "kind": "init", "loc": { "start": { "line": 24, "column": 3 }, "end": { "line": 24, "column": 9 } } } ], "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 25, "column": 2 } } }, "loc": { "start": { "line": 21, "column": 7 }, "end": { "line": 25, "column": 2 } } } ], "kind": "const", "loc": { "start": { "line": 21, "column": 1 }, "end": { "line": 25, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 25, "column": 2 } } }