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": "TSTupleType", 14 "elementTypes": [ 15 { 16 "type": "TSNumberKeyword", 17 "loc": { 18 "start": { 19 "line": 17, 20 "column": 9 21 }, 22 "end": { 23 "line": 17, 24 "column": 16 25 } 26 } 27 }, 28 { 29 "type": "TSNumberKeyword", 30 "loc": { 31 "start": { 32 "line": 17, 33 "column": 17 34 }, 35 "end": { 36 "line": 17, 37 "column": 24 38 } 39 } 40 }, 41 { 42 "type": "TSNumberKeyword", 43 "loc": { 44 "start": { 45 "line": 17, 46 "column": 25 47 }, 48 "end": { 49 "line": 17, 50 "column": 32 51 } 52 } 53 } 54 ], 55 "loc": { 56 "start": { 57 "line": 17, 58 "column": 8 59 }, 60 "end": { 61 "line": 17, 62 "column": 32 63 } 64 } 65 }, 66 "decorators": [], 67 "loc": { 68 "start": { 69 "line": 17, 70 "column": 5 71 }, 72 "end": { 73 "line": 17, 74 "column": 6 75 } 76 } 77 }, 78 "init": null, 79 "loc": { 80 "start": { 81 "line": 17, 82 "column": 5 83 }, 84 "end": { 85 "line": 17, 86 "column": 6 87 } 88 } 89 } 90 ], 91 "kind": "var", 92 "loc": { 93 "start": { 94 "line": 17, 95 "column": 1 96 }, 97 "end": { 98 "line": 17, 99 "column": 33 100 } 101 } 102 }, 103 { 104 "type": "VariableDeclaration", 105 "declarations": [ 106 { 107 "type": "VariableDeclarator", 108 "id": { 109 "type": "Identifier", 110 "name": "b", 111 "typeAnnotation": { 112 "type": "TSArrayType", 113 "elementType": { 114 "type": "TSNumberKeyword", 115 "loc": { 116 "start": { 117 "line": 18, 118 "column": 8 119 }, 120 "end": { 121 "line": 18, 122 "column": 14 123 } 124 } 125 }, 126 "loc": { 127 "start": { 128 "line": 18, 129 "column": 8 130 }, 131 "end": { 132 "line": 18, 133 "column": 16 134 } 135 } 136 }, 137 "decorators": [], 138 "loc": { 139 "start": { 140 "line": 18, 141 "column": 5 142 }, 143 "end": { 144 "line": 18, 145 "column": 6 146 } 147 } 148 }, 149 "init": null, 150 "loc": { 151 "start": { 152 "line": 18, 153 "column": 5 154 }, 155 "end": { 156 "line": 18, 157 "column": 6 158 } 159 } 160 } 161 ], 162 "kind": "var", 163 "loc": { 164 "start": { 165 "line": 18, 166 "column": 1 167 }, 168 "end": { 169 "line": 18, 170 "column": 17 171 } 172 } 173 }, 174 { 175 "type": "ExpressionStatement", 176 "expression": { 177 "type": "AssignmentExpression", 178 "operator": "=", 179 "left": { 180 "type": "Identifier", 181 "name": "a", 182 "decorators": [], 183 "loc": { 184 "start": { 185 "line": 19, 186 "column": 1 187 }, 188 "end": { 189 "line": 19, 190 "column": 2 191 } 192 } 193 }, 194 "right": { 195 "type": "Identifier", 196 "name": "b", 197 "decorators": [], 198 "loc": { 199 "start": { 200 "line": 19, 201 "column": 5 202 }, 203 "end": { 204 "line": 19, 205 "column": 6 206 } 207 } 208 }, 209 "loc": { 210 "start": { 211 "line": 19, 212 "column": 1 213 }, 214 "end": { 215 "line": 19, 216 "column": 6 217 } 218 } 219 }, 220 "loc": { 221 "start": { 222 "line": 19, 223 "column": 1 224 }, 225 "end": { 226 "line": 19, 227 "column": 7 228 } 229 } 230 } 231 ], 232 "loc": { 233 "start": { 234 "line": 1, 235 "column": 1 236 }, 237 "end": { 238 "line": 19, 239 "column": 7 240 } 241 } 242} 243TypeError: Type 'number[]' is not assignable to type '[number, number, number]'. [tupleAssignability15.ts:19:1] 244