{ "type": "Program", "statements": [ { "type": "ImportDeclaration", "source": { "type": "StringLiteral", "value": "./typescript", "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 30 } } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "local": { "type": "Identifier", "name": "ns", "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 10 } } }, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 10 } } } ], "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 16, "column": 30 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a", "typeAnnotation": { "type": "TSTypeReference", "typeName": { "type": "TSQualifiedName", "left": { "type": "Identifier", "name": "ns", "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 11 } } }, "right": { "type": "Identifier", "name": "A", "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 13 } } }, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 14 } } }, "typeParameters": { "type": "TSTypeParameterInstantiation", "params": [ { "type": "TSNumberKeyword", "loc": { "start": { "line": 18, "column": 14 }, "end": { "line": 18, "column": 20 } } } ], "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 21 } } }, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 14 } } }, "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 6 } } }, "init": { "type": "NewExpression", "callee": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "ns", "loc": { "start": { "line": 18, "column": 28 }, "end": { "line": 18, "column": 30 } } }, "property": { "type": "Identifier", "name": "A", "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 32 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 18, "column": 28 }, "end": { "line": 18, "column": 32 } } }, "typeParameters": { "type": "TSTypeParameterInstantiation", "params": [ { "type": "TSNumberKeyword", "loc": { "start": { "line": 18, "column": 33 }, "end": { "line": 18, "column": 39 } } } ], "loc": { "start": { "line": 18, "column": 32 }, "end": { "line": 18, "column": 40 } } }, "arguments": [], "loc": { "start": { "line": 18, "column": 24 }, "end": { "line": 18, "column": 42 } } }, "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 42 } } } ], "kind": "let", "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 43 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 20, "column": 1 } } }