1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "TSInterfaceDeclaration", 6 "body": { 7 "type": "TSInterfaceBody", 8 "body": [ 9 { 10 "type": "TSPropertySignature", 11 "computed": false, 12 "optional": false, 13 "readonly": false, 14 "key": { 15 "type": "Identifier", 16 "name": "a", 17 "loc": { 18 "start": { 19 "line": 18, 20 "column": 5 21 }, 22 "end": { 23 "line": 18, 24 "column": 6 25 } 26 } 27 }, 28 "typeAnnotation": { 29 "type": "TSUnionType", 30 "types": [ 31 { 32 "type": "TSStringKeyword", 33 "loc": { 34 "start": { 35 "line": 18, 36 "column": 8 37 }, 38 "end": { 39 "line": 18, 40 "column": 14 41 } 42 } 43 }, 44 { 45 "type": "TSUndefinedKeyword", 46 "loc": { 47 "start": { 48 "line": 19, 49 "column": 7 50 }, 51 "end": { 52 "line": 19, 53 "column": 16 54 } 55 } 56 } 57 ], 58 "loc": { 59 "start": { 60 "line": 18, 61 "column": 8 62 }, 63 "end": { 64 "line": 19, 65 "column": 16 66 } 67 } 68 }, 69 "loc": { 70 "start": { 71 "line": 18, 72 "column": 5 73 }, 74 "end": { 75 "line": 19, 76 "column": 17 77 } 78 } 79 } 80 ], 81 "loc": { 82 "start": { 83 "line": 17, 84 "column": 13 85 }, 86 "end": { 87 "line": 20, 88 "column": 2 89 } 90 } 91 }, 92 "id": { 93 "type": "Identifier", 94 "name": "B", 95 "loc": { 96 "start": { 97 "line": 17, 98 "column": 11 99 }, 100 "end": { 101 "line": 17, 102 "column": 12 103 } 104 } 105 }, 106 "extends": [], 107 "loc": { 108 "start": { 109 "line": 17, 110 "column": 1 111 }, 112 "end": { 113 "line": 20, 114 "column": 2 115 } 116 } 117 } 118 ], 119 "loc": { 120 "start": { 121 "line": 1, 122 "column": 1 123 }, 124 "end": { 125 "line": 20, 126 "column": 2 127 } 128 } 129} 130