1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "Identifier", 11 "name": "a", 12 "decorators": [], 13 "loc": { 14 "start": { 15 "line": 17, 16 "column": 5 17 }, 18 "end": { 19 "line": 17, 20 "column": 6 21 } 22 } 23 }, 24 "init": { 25 "type": "ArrayExpression", 26 "elements": [ 27 { 28 "type": "NumberLiteral", 29 "value": 0, 30 "loc": { 31 "start": { 32 "line": 17, 33 "column": 10 34 }, 35 "end": { 36 "line": 17, 37 "column": 11 38 } 39 } 40 }, 41 { 42 "type": "NumberLiteral", 43 "value": 1, 44 "loc": { 45 "start": { 46 "line": 17, 47 "column": 13 48 }, 49 "end": { 50 "line": 17, 51 "column": 14 52 } 53 } 54 }, 55 { 56 "type": "NumberLiteral", 57 "value": 2, 58 "loc": { 59 "start": { 60 "line": 17, 61 "column": 16 62 }, 63 "end": { 64 "line": 17, 65 "column": 17 66 } 67 } 68 }, 69 { 70 "type": "NumberLiteral", 71 "value": 3, 72 "loc": { 73 "start": { 74 "line": 17, 75 "column": 19 76 }, 77 "end": { 78 "line": 17, 79 "column": 20 80 } 81 } 82 }, 83 { 84 "type": "NumberLiteral", 85 "value": 4, 86 "loc": { 87 "start": { 88 "line": 17, 89 "column": 22 90 }, 91 "end": { 92 "line": 17, 93 "column": 23 94 } 95 } 96 } 97 ], 98 "loc": { 99 "start": { 100 "line": 17, 101 "column": 9 102 }, 103 "end": { 104 "line": 17, 105 "column": 24 106 } 107 } 108 }, 109 "loc": { 110 "start": { 111 "line": 17, 112 "column": 5 113 }, 114 "end": { 115 "line": 17, 116 "column": 24 117 } 118 } 119 } 120 ], 121 "kind": "var", 122 "loc": { 123 "start": { 124 "line": 17, 125 "column": 1 126 }, 127 "end": { 128 "line": 17, 129 "column": 25 130 } 131 } 132 }, 133 { 134 "type": "VariableDeclaration", 135 "declarations": [ 136 { 137 "type": "VariableDeclarator", 138 "id": { 139 "type": "Identifier", 140 "name": "b", 141 "typeAnnotation": { 142 "type": "TSBigIntKeyword", 143 "loc": { 144 "start": { 145 "line": 18, 146 "column": 8 147 }, 148 "end": { 149 "line": 18, 150 "column": 14 151 } 152 } 153 }, 154 "decorators": [], 155 "loc": { 156 "start": { 157 "line": 18, 158 "column": 5 159 }, 160 "end": { 161 "line": 18, 162 "column": 6 163 } 164 } 165 }, 166 "init": null, 167 "loc": { 168 "start": { 169 "line": 18, 170 "column": 5 171 }, 172 "end": { 173 "line": 18, 174 "column": 6 175 } 176 } 177 } 178 ], 179 "kind": "var", 180 "loc": { 181 "start": { 182 "line": 18, 183 "column": 1 184 }, 185 "end": { 186 "line": 18, 187 "column": 15 188 } 189 } 190 }, 191 { 192 "type": "ExpressionStatement", 193 "expression": { 194 "type": "AssignmentExpression", 195 "operator": "=", 196 "left": { 197 "type": "Identifier", 198 "name": "b", 199 "decorators": [], 200 "loc": { 201 "start": { 202 "line": 19, 203 "column": 1 204 }, 205 "end": { 206 "line": 19, 207 "column": 2 208 } 209 } 210 }, 211 "right": { 212 "type": "ChainExpression", 213 "expression": { 214 "type": "MemberExpression", 215 "object": { 216 "type": "Identifier", 217 "name": "a", 218 "decorators": [], 219 "loc": { 220 "start": { 221 "line": 19, 222 "column": 5 223 }, 224 "end": { 225 "line": 19, 226 "column": 6 227 } 228 } 229 }, 230 "property": { 231 "type": "NumberLiteral", 232 "value": 5, 233 "loc": { 234 "start": { 235 "line": 19, 236 "column": 9 237 }, 238 "end": { 239 "line": 19, 240 "column": 10 241 } 242 } 243 }, 244 "computed": true, 245 "optional": true, 246 "loc": { 247 "start": { 248 "line": 19, 249 "column": 5 250 }, 251 "end": { 252 "line": 19, 253 "column": 11 254 } 255 } 256 }, 257 "loc": { 258 "start": { 259 "line": 19, 260 "column": 5 261 }, 262 "end": { 263 "line": 19, 264 "column": 11 265 } 266 } 267 }, 268 "loc": { 269 "start": { 270 "line": 19, 271 "column": 1 272 }, 273 "end": { 274 "line": 19, 275 "column": 11 276 } 277 } 278 }, 279 "loc": { 280 "start": { 281 "line": 19, 282 "column": 1 283 }, 284 "end": { 285 "line": 19, 286 "column": 12 287 } 288 } 289 } 290 ], 291 "loc": { 292 "start": { 293 "line": 1, 294 "column": 1 295 }, 296 "end": { 297 "line": 20, 298 "column": 1 299 } 300 } 301} 302TypeError: Type 'number' is not assignable to type 'bigint'. [member_expression_57.ts:19:1] 303