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 "typeAnnotation": { 13 "type": "TSArrayType", 14 "elementType": { 15 "type": "TSBigIntKeyword", 16 "loc": { 17 "start": { 18 "line": 17, 19 "column": 8 20 }, 21 "end": { 22 "line": 17, 23 "column": 14 24 } 25 } 26 }, 27 "loc": { 28 "start": { 29 "line": 17, 30 "column": 8 31 }, 32 "end": { 33 "line": 17, 34 "column": 16 35 } 36 } 37 }, 38 "decorators": [], 39 "loc": { 40 "start": { 41 "line": 17, 42 "column": 5 43 }, 44 "end": { 45 "line": 17, 46 "column": 6 47 } 48 } 49 }, 50 "init": null, 51 "loc": { 52 "start": { 53 "line": 17, 54 "column": 5 55 }, 56 "end": { 57 "line": 17, 58 "column": 6 59 } 60 } 61 } 62 ], 63 "kind": "var", 64 "loc": { 65 "start": { 66 "line": 17, 67 "column": 1 68 }, 69 "end": { 70 "line": 17, 71 "column": 17 72 } 73 } 74 }, 75 { 76 "type": "ExpressionStatement", 77 "expression": { 78 "type": "AssignmentExpression", 79 "operator": "=", 80 "left": { 81 "type": "Identifier", 82 "name": "a", 83 "decorators": [], 84 "loc": { 85 "start": { 86 "line": 18, 87 "column": 1 88 }, 89 "end": { 90 "line": 18, 91 "column": 2 92 } 93 } 94 }, 95 "right": { 96 "type": "ArrayExpression", 97 "elements": [ 98 { 99 "type": "BigIntLiteral", 100 "value": "5", 101 "loc": { 102 "start": { 103 "line": 18, 104 "column": 6 105 }, 106 "end": { 107 "line": 18, 108 "column": 8 109 } 110 } 111 }, 112 { 113 "type": "BooleanLiteral", 114 "value": false, 115 "loc": { 116 "start": { 117 "line": 18, 118 "column": 9 119 }, 120 "end": { 121 "line": 18, 122 "column": 14 123 } 124 } 125 } 126 ], 127 "loc": { 128 "start": { 129 "line": 18, 130 "column": 5 131 }, 132 "end": { 133 "line": 18, 134 "column": 15 135 } 136 } 137 }, 138 "loc": { 139 "start": { 140 "line": 18, 141 "column": 1 142 }, 143 "end": { 144 "line": 18, 145 "column": 15 146 } 147 } 148 }, 149 "loc": { 150 "start": { 151 "line": 18, 152 "column": 1 153 }, 154 "end": { 155 "line": 18, 156 "column": 16 157 } 158 } 159 } 160 ], 161 "loc": { 162 "start": { 163 "line": 1, 164 "column": 1 165 }, 166 "end": { 167 "line": 19, 168 "column": 1 169 } 170 } 171} 172TypeError: Type 'boolean' is not assignable to type 'bigint'. [array_17.ts:18:9] 173