{ "type": "Program", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 6 } } }, "init": { "type": "TSAsExpression", "expression": { "type": "StringLiteral", "value": "x", "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 12 } } }, "typeAnnotation": { "type": "TSUnionType", "types": [ { "type": "TSLiteralType", "literal": { "type": "StringLiteral", "value": "x", "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 19 } } }, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 19 } } }, { "type": "TSLiteralType", "literal": { "type": "StringLiteral", "value": "y", "loc": { "start": { "line": 17, "column": 22 }, "end": { "line": 17, "column": 25 } } }, "loc": { "start": { "line": 17, "column": 22 }, "end": { "line": 17, "column": 25 } } } ], "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 25 } } }, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 26 } } }, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 26 } } } ], "kind": "var", "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 26 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "b", "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 6 } } }, "init": { "type": "TSAsExpression", "expression": { "type": "TSAsExpression", "expression": { "type": "TSAsExpression", "expression": { "type": "NullLiteral", "value": null, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 13 } } }, "typeAnnotation": { "type": "TSAnyKeyword", "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 20 } } }, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 23 } } }, "typeAnnotation": { "type": "TSUnionType", "types": [ { "type": "TSStringKeyword", "loc": { "start": { "line": 18, "column": 24 }, "end": { "line": 18, "column": 30 } } }, { "type": "TSUndefinedKeyword", "loc": { "start": { "line": 18, "column": 33 }, "end": { "line": 18, "column": 42 } } } ], "loc": { "start": { "line": 18, "column": 24 }, "end": { "line": 18, "column": 42 } } }, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 45 } } }, "typeAnnotation": { "type": "TSNeverKeyword", "loc": { "start": { "line": 18, "column": 46 }, "end": { "line": 18, "column": 51 } } }, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 52 } } }, "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 52 } } } ], "kind": "var", "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 52 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "c", "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 6 } } }, "init": { "type": "TSAsExpression", "expression": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 10 } } }, "typeAnnotation": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "const", "loc": { "start": { "line": 19, "column": 14 }, "end": { "line": 19, "column": 19 } } }, "loc": { "start": { "line": 19, "column": 14 }, "end": { "line": 19, "column": 19 } } }, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 20 } } }, "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 20 } } } ], "kind": "var", "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 20 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 20, "column": 1 } } }