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": { 79 "type": "ArrayExpression", 80 "elements": [ 81 { 82 "type": "NumberLiteral", 83 "value": 1, 84 "loc": { 85 "start": { 86 "line": 17, 87 "column": 36 88 }, 89 "end": { 90 "line": 17, 91 "column": 37 92 } 93 } 94 }, 95 { 96 "type": "NumberLiteral", 97 "value": 2, 98 "loc": { 99 "start": { 100 "line": 17, 101 "column": 39 102 }, 103 "end": { 104 "line": 17, 105 "column": 40 106 } 107 } 108 } 109 ], 110 "loc": { 111 "start": { 112 "line": 17, 113 "column": 35 114 }, 115 "end": { 116 "line": 17, 117 "column": 41 118 } 119 } 120 }, 121 "loc": { 122 "start": { 123 "line": 17, 124 "column": 5 125 }, 126 "end": { 127 "line": 17, 128 "column": 41 129 } 130 } 131 } 132 ], 133 "kind": "var", 134 "loc": { 135 "start": { 136 "line": 17, 137 "column": 1 138 }, 139 "end": { 140 "line": 17, 141 "column": 42 142 } 143 } 144 } 145 ], 146 "loc": { 147 "start": { 148 "line": 1, 149 "column": 1 150 }, 151 "end": { 152 "line": 17, 153 "column": 42 154 } 155 } 156} 157TypeError: Type '[1, 2]' is not assignable to type '[number, number, number]'. [tupleAssignability3.ts:17:5] 158